Home › CVE › JavaScript
CVE-2026-135230 — @fastify/express
One of 5 @fastify/express vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebNetwork devicesVulnerabilitiesSummary
@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.3 before 4.0.14, the plugin decodes certain percent-encoded characters in the request path that Express would otherwise keep encoded, including the Unicode line separator and paragraph separator characters, and leaves them raw. A JavaScript regular expression treats those two characters as line terminators, so a regular-expression mount path that relies on the dot metacharacter fails to match a request containing them while Fastify's own router still routes the request to its handler, and the middleware mounted on that regular-expression path is therefore skipped. An attacker can use this to bypass authentication or other middleware-based access controls on routes guarded by a regular-expression mount; string mount paths are not affected. The issue is fixed in @fastify/express 4.0.14, and users should upgrade to 4.0.14 or later. As a workaround, use string mount paths, avoid the dot metacharacter in regular-expression mounts by using a character class or the dotAll flag, or enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request.
Severity breakdown
High · 7.4
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
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| @fastify/express | ≥ 4.0.3, < 4.0.14 | 4.0.14 |
References by type
Vendor advisories
Other references
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-135230?
@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.3 before 4.0.14, the plugin decodes certain percent-encoded characters in the request path that Express would otherwise keep encoded, including the Unicode line separator and paragraph separator characters, and leaves them raw. Weakness type: Interpretation Conflict (CWE-436).
How severe is CVE-2026-135230?
CVE-2026-135230 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-135230 being exploited?
Not as far as is known: CVE-2026-135230 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.
Which versions are affected by CVE-2026-135230?
@fastify/express ≥ 4.0.3, < 4.0.14 (fixed in 4.0.14).
How do I fix CVE-2026-135230?
Update to a fixed release: @fastify/express 4.0.14.
Timeline & sources
References
Related vulnerabilities & news
- GHSA-c4hm-4h84-2cf3 / CVE-2026-59726 — ruflo MCP bridge allows unauthenticated remote code execution in default Docker Compose deployments
- CVE-2026-129502: @fastify/http-proxy WebSocket Upgrade Crash Vulnerability
- CVE-2026-129500: @fastify/http-proxy Crash Vulnerability
- CVE-2026-65843 — ForbesLindesay sync-rpc
- CVE-2026-137514 — nodemailer