CVE-2026-76169Fastify authentication bypass
CVSS score
7.5
High
CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb
Exploit probability (EPSS)
0.53%
0.53% chance of exploitation in the next 30 days, higher than 45.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb
How to fix it, step by step
Check whether you're affected
Find every system running Fastify and compare its version with the affected versions.
Update to a fixed version
- Update Fastify to 5.12.2 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| fastify Fastify | ≥ 4.0.0, < 5.12.2 |
Weakness
- CWE-288 authentication bypass
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-76169 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-76169?
CVE-2026-76169 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Fastify Fastify (≥ 4.0.0, < 5.12.2)
Is there a patch for CVE-2026-76169?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/fastify/fastify/security/advisories/GHSA-p68q-wchp-6fh7(Mitigation, Vendor Advisory)
- cna.openjsf.org/security-advisories.html(Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.