CVE-2025-32442
Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass
Fastify is a fast and low overhead web framework, for Node.js. In versions 5.0.0 to 5.3.0 as well as version 4.29.0, applications that specify different validation strategies for different content types have a possibility to bypass validation by providing a _slightly altered_ content type such as with different casing or altered whitespacing before `;`. This was patched in v5.3.1, but the initial patch did not cover all problems. This has been fully patched in v5.3.2 and v4.29.1. A workaround involves not specifying individual content types in the schema.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.744% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T12:57:32.538Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:32.538Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.990Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:30.987Z | OSV |
| affected | verified | 2026-11-19T12:57:32.538Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:32.538Z | CVE Program |
Affected versions and configuration
fastify fastify; default status: unknown: >= 5.0.0, < 5.3.2 [affected; scheme: unspecified]; = 4.29.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "fastify",
"product": "fastify",
"versions": [
{
"status": "affected",
"version": ">= 5.0.0, < 5.3.2"
},
{
"status": "affected",
"version": "= 4.29.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-32442",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-04-21T13:28:27.299500Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-21T13:29:14.448Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-247c-9743-5963",
"aliases": [
"CVE-2025-32442",
"CVE-2026-33806",
"GHSA-mg2h-6x62-wpwc"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.3.2"
},
{
"fixed": "5.8.5"
}
]
}
],
"package": {
"name": "fastify",
"purl": "pkg:npm/fastify",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-247c-9743-5963/GHSA-247c-9743-5963.json",
"last_known_affected_version_range": "<= 5.8.4"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/fastify/fastify/security/advisories/GHSA-247c-9743-5963",
"type": "WEB"
},
{
"url": "https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-32442",
"type": "ADVISORY"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33806",
"type": "ADVISORY"
},
{
"url": "https://github.com/fastify/fastify/commit/f3d2bcb3963cd570a582e5d39aab01a9ae692fe4",
"type": "WEB"
},
{
"url": "https://cna.openjsf.org/security-advisories.html",
"type": "WEB"
},
{
"url": "https://github.com/fastify/fastify",
"type": "PACKAGE"
},
{
"url": "https://github.com/fastify/fastify/releases/tag/v5.8.5",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-1287"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-04-15T04:17:36Z",
"github_reviewed_at": "2026-04-15T19:24:41Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-mg2h-6x62-wpwc",
"aliases": [
"CVE-2025-32442",
"CVE-2026-33806",
"GHSA-247c-9743-5963"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.3.2"
}
]
}
],
"package": {
"name": "fastify",
"purl": "pkg:npm/fastify",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-mg2h-6x62-wpwc/GHSA-mg2h-6x62-wpwc.json",
"last_known_affected_version_range": "<= 5.3.1"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.29.0"
},
{
"fixed": "4.29.1"
}
]
}
],
"package": {
"name": "fastify",
"purl": "pkg:npm/fastify",
"ecosystem": "npm"
},
"versions": [
"4.29.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-mg2h-6x62-wpwc/GHSA-mg2h-6x62-wpwc.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-32442",
"type": "ADVISORY"
},
{
"url": "https://github.com/fastify/fastify/commit/436da4c06dfbbb8c24adee3a64de0c51e4f47418",
"type": "WEB"
},
{
"url": "https://github.com/fastify/fastify/commit/f3d2bcb3963cd570a582e5d39aab01a9ae692fe4",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/3087928",
"type": "WEB"
},
{
"url": "https://github.com/fastify/fastify",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-1287"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2025-04-18T16:15:23Z",
"github_reviewed_at": "2025-04-18T15:02:41Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | fastify | Not a distribution channel | 5.8.5 | Official record |
| ecosystem-boundary | npm / package | fastify | Not a distribution channel | 5.3.2 | Official record |
| ecosystem-boundary | npm / package | fastify | Not a distribution channel | 4.29.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:30.987ZArchived source JSON
Source publication: 2026-04-15T19:24:41.000Z
Source modification: 2026-07-08T08:11:12.813ZDocument fingerprint
55d483bc826a0c5071574372d56441dd1e0bca0643e042f7ad3603b5fbde7b44 - OSVConsulted: 2026-11-19T12:52:30.987ZArchived source JSON
Source publication: 2025-04-18T15:02:41.000Z
Source modification: 2026-07-08T08:11:12.813ZDocument fingerprint
55d483bc826a0c5071574372d56441dd1e0bca0643e042f7ad3603b5fbde7b44 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:32.538ZArchived source JSON
Source publication: 2025-04-18T15:59:06.670Z
Source modification: 2025-08-22T20:50:43.059ZDocument fingerprint
b679dea980aaaf1f46146dc948376d3c94bc3eab2b93bb6960265e1f2b695bed - FIRST EPSSConsulted: 2026-11-19T16:04:40.990ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
a61f5deec65b1a30b54fc6ad686dda6767c11c22f88b3bf1af4c6db9cb0d67b3
Official status history
- UNKNOWN → PUBLISHED · · evidence