CVE-2026-76169
fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-found handlers
fastify versions >= 4.0.0 and before 5.12.2 can route a malformed URL sent under one plugin prefix to the custom not-found handler of a different sibling plugin, and invoke it without the preHandler hook declared for that handler. The internal not-found router for encapsulated handlers dispatches malformed paths through a single shared handler pointer before URL decoding, ignoring the prefix and skipping the selected handler's normal lifecycle. An unauthenticated attacker can therefore reach an authentication-protected private fallback through an unrelated public prefix and read its full response, bypassing the authentication hook and breaking prefix encapsulation. Users should upgrade to fastify 5.12.2 or later.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.530% · 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by openjsCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T12:59:08.769Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:08.769Z | CVE Program |
| epss | verified | 2026-11-19T16:04:54.940Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:30.987Z | OSV |
| affected | verified | 2026-11-19T12:59:08.769Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:08.769Z | CVE Program |
Affected versions and configuration
fastify fastify; default status: unaffected: 4.0.0 to < 5.12.2 [affected; scheme: semver]; 5.12.2 [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": "4.0.0",
"lessThan": "5.12.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.12.2",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/fastify",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-76169",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-04T16:18:32.577097Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-04T16:20:02.318Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-p68q-wchp-6fh7",
"aliases": [
"CVE-2026-76169"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "5.12.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/2026/09/GHSA-p68q-wchp-6fh7/GHSA-p68q-wchp-6fh7.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/fastify/fastify/security/advisories/GHSA-p68q-wchp-6fh7",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-76169",
"type": "ADVISORY"
},
{
"url": "https://github.com/fastify/fastify/commit/93c239a380f3f2778bb7565fcdf777e91cfe1fbc",
"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.2",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-288"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-09-04T10:17:12Z",
"github_reviewed_at": "2026-09-30T23:45:34Z"
}
}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.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:30.987ZArchived source JSON
Source publication: 2026-09-30T23:45:34.000Z
Source modification: 2026-10-01T00:00:05.665ZDocument fingerprint
55d483bc826a0c5071574372d56441dd1e0bca0643e042f7ad3603b5fbde7b44 - CVE ProgramConsulted: 2026-11-19T12:59:08.769ZArchived source JSON
Source publication: 2026-09-04T09:51:03.556Z
Source modification: 2026-09-04T16:20:02.318ZDocument fingerprint
0a7297a0f04a0fbddd4b6cca25c86d7796c960560fade572db401c1ff5ac9b77 - FIRST EPSSConsulted: 2026-11-19T16:04:54.940ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
96853e60cbd03e738f78e465fb9b227c9cda51415230f40ab47644f75dd29296
Official status history
- UNKNOWN → PUBLISHED · · evidence