Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-129504

published critical CVSS 3.1 · 9.1

@fastify/express vulnerable to path-scoped middleware bypass via prefix and mount path join mismatch

Published
21 Nov 2026, 17:03:38 UTC
Updated
23 Nov 2026, 20:17:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
@fastify/express — @fastify/express4.0.0 to < 4.0.10 (affected · semver) · 4.0.10 (unaffected · semver) · Other versions: unaffected Version-specific Not stated openjs

Description

@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions 4.0.0 through 4.0.9, the plugin joins a path-scoped middleware's mount path to the Fastify plugin prefix by string concatenation, so when the plugin prefix ends with a slash or the mount path omits its leading slash, the resulting Express mount path does not line up with the route the Fastify router serves. Express then fails to match and passes the request on while the Fastify router still dispatches the route, so the middleware is silently skipped. An application that uses path-scoped Express middleware for authentication or authorization inside a prefixed plugin can expose protected routes to unauthenticated clients, with no crafted request and no non-default option required, and string, array, and regular-expression mount paths are all affected. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.

en · openjs · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.1 / 10
Severity
critical
Provider
openjs · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
@fastify/express @fastify/express 4.0.0 to < 4.0.10 (affected · semver)4.0.10 (unaffected · semver)Default: unaffected openjs · cna

Weaknesses

2
  • CWE-436 CWE-436: Interpretation Conflict (openjs · cna)
  • CWE-863 CWE-863: Incorrect Authorization (openjs · cna)

References

2

Provider assertions

2

openjs · cna

@fastify/express vulnerable to path-scoped middleware bypass via prefix and mount path join mismatch

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a978e7c06beb1c3f4b65edcb3fdb42a68913041d174289670e10abf3aff3eeba
Ingested
23 Nov 2026, 20:22:19 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected