PoC Monitor
← All CVEs
CVE-2026-33807published 15 Apr 2026 09:52 UTCData: JSON · API

Fastify @fastify/express

@fastify/express vulnerable to middleware path doubling causing authentication bypass in child plugin scopes

@fastify/express v4.0.4 and earlier contains a path handling bug in the onRegister function that causes middleware paths to be doubled when inherited by child plugins. When a child plugin is registered with a prefix that matches a middleware path, the middleware path is prefixed a second time, causing it to never match incoming requests. This results in complete bypass of Express middleware security controls, including authentication, authorization, and rate limiting, for all routes defined within affected child plugin scopes. No special configuration or request crafting is required. Upgrade to @fastify/express v4.0.5 or later.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CNA · CWE-436
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

fastify @fastify/express
  • < 4.0.5

Fixed in 4.0.5

Mitigation

Upgrade @fastify/express to 4.0.5 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published15 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.