PT-2026-160050

CVE-2026-135230

·

Published

2026-11-26

·

Updated

2026-11-26

Description by

CVSS 3.1
7.4
High
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions @fastify/express versions 4.0.3 through 4.0.13
Description The plugin decodes specific percent-encoded characters in the request path, such as Unicode line separator and paragraph separator characters, which Express typically keeps encoded. Because JavaScript regular expressions treat these characters as line terminators, a regular-expression mount path using the dot metacharacter fails to match requests containing them. However, the Fastify router still directs the request to its handler, causing the middleware associated with that regular-expression path to be skipped. This can allow an attacker to bypass authentication or other middleware-based access controls on routes protected by a regular-expression mount. String mount paths are not affected.
Recommendations Update to version 4.0.14 or later. Use string mount paths instead of regular expressions. Avoid using the dot metacharacter in regular-expression mounts by utilizing a character class or the dotAll flag. Enforce authentication within a Fastify hook, such as preHandler(), which executes after the router resolves the request.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
GHSA-X6W9-3QCM-VP2J
Found an issue in the description? Have something to add? Feel free to write us 👾