CVE-2026-107832
fastify vulnerable to header validation bypass via case-sensitive propertyNames
fastify is a fast and low overhead web framework for Node.js. In versions 5.12.2 through 5.12.5, the routine that lowercases header names declared in a route schema does not lowercase the enum or const header names nested inside a propertyNames subschema. As a result, a header allow-list or deny-list written with canonical (non-lowercase) casing never matches the incoming lowercased header, so a restricted header passes validation and reaches the route handler. An attacker can therefore bypass a case-sensitive header validation rule and smuggle a forbidden header past the schema, affecting the integrity of request handling. The issue is fixed in fastify 5.12.6, and users should upgrade to 5.12.6 or later. There is no workaround other than upgrading, though applications can declare header names in lowercase to avoid the mismatch.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.257% · 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-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 3.7 · published by openjsCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T12:57:51.383Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:51.383Z | CVE Program |
| epss | verified | 2026-11-19T18:27:13.977Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:30.987Z | OSV |
| affected | verified | 2026-11-19T12:57:51.383Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:51.383Z | CVE Program |
Affected versions and configuration
fastify fastify; default status: unaffected: 5.12.2 to < 5.12.6 [affected; scheme: semver]; 5.12.6 [unaffected; scheme: semver]
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.12.2",
"lessThan": "5.12.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.12.6",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/fastify",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-107832",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-15T17:34:08.435956Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-15T19:14:58.255Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-389g-gv7q-r4x8",
"aliases": [
"CVE-2026-107832"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.12.2"
},
{
"fixed": "5.12.6"
}
]
}
],
"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/10/GHSA-389g-gv7q-r4x8/GHSA-389g-gv7q-r4x8.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/fastify/fastify/security/advisories/GHSA-389g-gv7q-r4x8",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-107832",
"type": "ADVISORY"
},
{
"url": "https://github.com/fastify/fastify/pull/7104",
"type": "WEB"
},
{
"url": "https://github.com/fastify/fastify/commit/3241fbd2f10a8ca1503533726836b53b6e8775a2",
"type": "WEB"
},
{
"url": "https://github.com/fastify/fastify/commit/35c32375731c111439682b2f9e6e0baed2694269",
"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.12.6",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-178"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2026-10-13T14:17:19Z",
"github_reviewed_at": "2026-10-22T16:40:35Z"
}
}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.12.6 | 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-10-22T16:40:35.000Z
Source modification: 2026-10-22T16:45:04.287ZDocument fingerprint
55d483bc826a0c5071574372d56441dd1e0bca0643e042f7ad3603b5fbde7b44 - FIRST EPSSConsulted: 2026-11-19T18:27:13.977ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
b596df421df82bf03a03e4e87442e154437628783643011659984006ca707510 - CVE ProgramConsulted: 2026-11-19T12:57:51.383ZArchived source JSON
Source publication: 2026-10-13T13:23:24.217Z
Source modification: 2026-10-15T19:14:58.255ZDocument fingerprint
c3cc916724f9edbcf7f5bd72f0b0fa471e349c2c2dca819acc36f8e95e5918f5 - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence