Live threats

All CVEs / Fastify

CVE-2026-33807Fastify/express

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Apr 15, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-436
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastify/express.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @fastify/express < 4.0.5 4.0.5 npm install @fastify/express@4.0.5

Per OSV / GitHub Advisories (GHSA-hrwm-hgmj-7p9c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fastifyfastify/express< 4.0.5

Official sources

References

Links published by the sources. Open them with care.