{"schemaVersion":3,"id":"CVE-2026-76169","aliases":["GHSA-p68q-wchp-6fh7"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-09-04T09:51:03.556Z","modified":"2026-09-04T16:20:02.318Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0053,"percentile":0.43657,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.02199999999999997,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00508},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0053,"percentile":0.43657}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0053,"percentile":0.43657}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-288","name":"Authentication Bypass Using an Alternate Path or Channel","description":"The product requires authentication, but the product has an alternate path or channel that does not require authentication.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/288.html"}],"affected":[{"vendor":"fastify","product":"fastify","name":"fastify","label":"fastify","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 5.12.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 5.12.2","eol":null,"hubHref":"/vendor/fastify/fastify"},{"vendor":"Npm","product":"fastify","name":"fastify","label":"fastify","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/fastify","purlType":"npm","versions":[{"text":"≥ 4.0.0, < 5.12.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 5.12.2","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/fastify/fastify/security/advisories/GHSA-p68q-wchp-6fh7","label":"github.com/fastify/fastify/security/advisories/GHSA-p68q-wchp-6fh7","hostname":"github.com","tags":["WEB","Mitigation","Vendor Advisory"]},{"url":"https://cna.openjsf.org/security-advisories.html","label":"cna.openjsf.org/security-advisories.html","hostname":"cna.openjsf.org","tags":["WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76169","label":"nvd.nist.gov/vuln/detail/CVE-2026-76169","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/fastify/fastify/commit/93c239a380f3f2778bb7565fcdf777e91cfe1fbc","label":"github.com/fastify/fastify/commit/93c239a380f3f2778bb7565fcdf777e91cfe1fbc","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/fastify/fastify","label":"github.com/fastify/fastify","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/fastify/fastify/releases/tag/v5.12.2","label":"github.com/fastify/fastify/releases/tag/v5.12.2","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-04T09:51:03.556Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-04T16:20:02.318Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:32:07.357Z","stale":false,"partial":false}}