CRITICAL🇵🇱 Wersja polska

CVE-2026-33808

CVSS 9.1v4.0pub. 2026-04-15upd. 2026-06-01

Impact@fastify/express v4.0.4 and earlier fails to normalize URLs before passing them to Express middleware when Fastify router normalization options are enabled. This allows complete bypass of path-scoped authentication middleware via duplicate slashes when ignoreDuplicateSlashes is enabled, or via semicolon delimiters when useSemicolonDelimiter is enabled. In both cases, Fastify router normalizes the URL and matches the route, but @fastify/express passes the original un-normalized URL to Express middleware, which fails to match and is skipped. An unauthenticated attacker can access protected routes by manipulating the URL path. PatchesUpgrade to @fastify/express v4.0.5 or later.

🤖 AI Analysis
How it works

When Fastify router normalization options are enabled (ignoreDuplicateSlashes or useSemicolonDelimiter), the Fastify router normalizes the incoming URL and correctly matches the route. However, @fastify/express passes the original, unmodified URL to Express middleware, which does not match protected path patterns — effectively bypassing authentication middleware. An attacker can, for example, add double slashes (e.g., //admin) or use a semicolon as a separator in the URL to bypass identity verification and directly access a protected resource.

Impact

An unauthenticated attacker can gain unauthorized access to protected application routes, potentially reading or modifying data that requires authentication.

Mitigation & patch

Update @fastify/express to version 4.0.5 or later, which fixes URL normalization before passing the request to Express middleware.

Who is affected

@fastify/express version 4.0.4 and earlier, when the ignoreDuplicateSlashes or useSemicolonDelimiter option is enabled in the Fastify router configuration

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Fastify Fastify\/express

    APP
    Fastify
    < 4.0.5
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Auth Bypass
CWE
References

Related vulnerabilities

CVE-2026-6556CRITICAL9.1PL ✓same product

Pominięcie middleware w @fastify/express — obejście uwierzytelniania

CVE-2026-33807CRITICAL9.1PL ✓same product

Pominięcie middleware security w @fastify/express — bypass uwierzytelniania

CVE-2026-16117CRITICAL10.0PL ✓same vendor

Pominięcie rewrite prefiksu URL w @fastify/http-proxy – dostęp do ukrytych zasobów

CVE-2026-14198CRITICAL9.1PL ✓same vendor

Fastify/Middie: pominięcie middleware przez zakodowany slash w URL

CVE-2026-6270CRITICAL9.1PL ✓same vendor

Pominięcie uwierzytelnienia w @fastify/middie — brak dziedziczenia middleware