Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Network devices

CVE-2026-135264 — @fastify/express

High · CVSS 7.4 First seen November 26, 2026

One of 5 @fastify/express vulnerabilities published together by NVD: our article covers all of them.

Network devicesVulnerabilities

Summary

@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions from 4.0.7 before 4.0.14, when middleware is mounted on a nested array of mount paths the plugin rewrites only the top level of the array, so paths inside a nested array are not adjusted for a plugin registered under a prefix and the middleware never runs for them, a nested regular-expression mount keeps its global or sticky flag and is matched statefully so it is skipped on alternating requests, a nested regular expression is not matched case-insensitively when case sensitivity is disabled, and nested dynamic paths are not covered by the earlier empty-segment check. An attacker can use any of these to bypass authentication or other middleware-based access controls on the affected routes. The issue is fixed in @fastify/express 4.0.14, and users should upgrade to 4.0.14 or later. As a workaround, flatten mount path arrays before passing them to the plugin, or enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.4 CVSS 3.1 base score from the CNA

An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality and integrity, none on availability

Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
@fastify/express≥ 4.0.7, < 4.0.144.0.14

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • @fastify/express

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-135264?

@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions from 4.0.7 before 4.0.14, when middleware is mounted on a nested array of mount paths the plugin rewrites only the top level of the array, so paths inside a nested array are not adjusted for a plugin registered under a prefix and the middleware never runs for them, a… Weakness type: Interpretation Conflict (CWE-436).

How severe is CVE-2026-135264?

CVE-2026-135264 has a CVSS 3.1 base score of 7.4 (high), from the CNA. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-135264 being exploited?

Not as far as is known: CVE-2026-135264 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.

Which versions are affected by CVE-2026-135264?

@fastify/express ≥ 4.0.7, < 4.0.14 (fixed in 4.0.14).

How do I fix CVE-2026-135264?

Update to a fixed release: @fastify/express 4.0.14.

Timeline & sources

References