CVE-2026-135270

HighCVSS 7.4/10Last modified Dec 3, 2026

Description

@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.5 before 4.0.14, a mount path that begins with an Express 5 optional leading segment written as a group is treated as relative and has a slash prepended when it is joined to the plugin prefix, which changes what the pattern matches so the middleware ends up mounted on a path that no longer corresponds to the real request paths. The middleware therefore never runs for requests that match the intended routes, while the Fastify routes still resolve to their handlers. An attacker can use this 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, mount the middleware on each path spelling explicitly, or enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request.

Metrics

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

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
@fastify/express@fastify/express>= 4.0.5, < 4.0.14

References

Timeline

Published
Nov 26, 2026
Last modified
Dec 3, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1352713.7In JetBrains Kotlinx.serialization before 1.12.0 a DoS attack was possible via recursive JSON decodingCVE-2026-1352723.3In JetBrains Kotlinx-io before 0.9.3 information disclosure was possible via partial file writes on Node.jsCVE-2026-1352737.5The WP Directory Kit plugin for WordPress is vulnerable to SQL Injection via the 'post_id' parameter of the 'map_infowindow' action of the 'CVE-2026-1352757.5@fastify/busboy is a streaming parser for HTML form data, including multipart/form-data uploads, used by Fastify through @fastify/multipart.CVE-2026-1352785.4A vulnerability has been identified in Mendix Runtime V10 (All versions), Mendix Runtime V11 (All versions < V11.17.0), Mendix Runtime V11.1CVE-2026-1352799.1@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. InCVE-2026-135287.3A vulnerability was found in YunaiV/zhijiantianya ruoyi-vue-pro up to 2026.04-jdk8-SNAPSHOT. The impacted element is the function generateUpCVE-2026-1352807.4@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. InCVE-2026-1352826.7In JetBrains Kotlin before 2.5.0 code execution was possible via unsafe deserialization of KAPT classpath snapshotsCVE-2026-1352835.3In JetBrains Kotlin before 2.5.0 path traversal was possible when unpacking the Kotlin/Native distributionCVE-2026-1352848.1In JetBrains Kotlin before 2.5.0 path traversal was possible via Kotlin Multiplatform dependency metadataCVE-2026-1352854.2In JetBrains Kotlin before 2.5.0 path traversal was possible via package names of Kotlin/JS libraries
CVE-2026-135270: High severity, CVSS 7.4 | Vulnix