Security mailing lists by PureSourceCode

CVE-2026-76169

HIGH 7.5CVSS 3.1

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.

Published
4 Sep 2026
Last modified
1 Oct 2026
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
NVD status
Analyzed
Weakness
CWE-288
Also known as
GHSA-p68q-wchp-6fh7
Sources
NVDJSONOSV GHSA-p68q-wchp-6fh7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fastify fastify
cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 5.12.2 5.12.2
OSV npm fastify >= 4.0.0, < 5.12.2 5.12.2

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 4 Sep 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.