CVE-2026-33807CRITICAL 9.1EPSS p34.2%

CVE-2026-33807CVE-2026-33807

fastify / fastify\/express

Description

@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.

Scoring

CVSS 3.19.1 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS0.43% probability of exploitation · percentile 34.2% · 2026-06-19T12:03:05Z
Published2026-04-15
Last modified2026-06-01

Underlying weaknesses· 1

CWE-436

References

  1. https://cna.openjsf.org/security-advisories.html
  2. https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c
  3. https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c

1

TypeTargetConfidenceTier
WeaknessInterpretation Conflictcwe-4360%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-33808
CVE
CVE-2026-22037
CVE
CVE-2026-33804
CVE
CVE-2026-2880
CVE
CVE-2026-6270
CVE
CVE-2026-22031
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.