# CVE-2026-76169: fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-found handlers

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 5.12.2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-04 · Modified: 2026-09-04
- Aliases: GHSA-p68q-wchp-6fh7, CGA-9fhc-g777-w5g6, CGA-rx6p-2h9w-82qp, CGA-h257-73r7-wxcm, CGA-h9f4-vxjv-qjg6
- Record: https://cvemate.com/vulnerability/CVE-2026-76169 · JSON: https://cvemate.com/vulnerability/CVE-2026-76169/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.41%, percentile 37.29%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard postgres-meta (Chainguard): All versions (No fix recorded)
- chainguard postgres-meta-fips (Chainguard): All versions (No fix recorded)
- fastify fastify: ≥ 4.0.0, \< 5.12.2
- Npm fastify (Npm): ≥ 4.0.0, \< 5.12.2

## References

- <https://github.com/fastify/fastify/security/advisories/GHSA-p68q-wchp-6fh7>
- <https://cna.openjsf.org/security-advisories.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-76169>
- <https://github.com/fastify/fastify/commit/93c239a380f3f2778bb7565fcdf777e91cfe1fbc>
- <https://github.com/fastify/fastify>
- <https://github.com/fastify/fastify/releases/tag/v5.12.2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76169.json>

---

Data as of 2026-12-05T09:19:20.599Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
