Skip to main content
VulnerabilityPublished

CVE-2026-33807: @fastify/express · Interpretation Conflict

Affects @fastify/expressSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.1 Critical : upgrade to 4.0.5 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.0.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade @fastify/express to 4.0.5.

Affected software

ProductAffectedFixed in
fastify@fastify/expressAffected
  • <4.0.5
Fixed in
  • 4.0.5
npm@fastify/expresspkg:npm/@fastify/expressOther threatsAffected
  • <4.0.5
Fixed in
  • 4.0.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to @fastify/express version 4.0.5 or later where this path handling bug is fixed. Patch status is not explicitly stated in the vendor advisory, but the description clearly states upgrading resolves the issue. No other mitigations are indicated or required.

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.

References

Community reviews

Loading reviews…