CVE-2026-129850
Received Received - Intake

Path Confusion in Fastify Express Compatibility Layer

Vulnerability report for CVE-2026-129850, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: 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, when Fastify routing is configured to be case-insensitive, the router folds the request path to lower case in a way that maps certain non-ASCII Unicode characters to ASCII letters, but @fastify/express matches Express mount paths against the decoded path without applying the same folding. The two disagree, so a request that spells a letter of a mount path with an equivalent Unicode character is routed to the protected handler while the path-scoped middleware mounted on that path never matches and is skipped. An unauthenticated client can therefore reach a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, though only when the application enables case-insensitive routing and the mount path contains an affected letter. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
fastify express From 4.0.0 (inc) to 4.0.9 (inc)
fastify express 4.0.10

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
CWE-178 The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects @fastify/express versions 4.0.0 through 4.0.9. When Fastify routing is case-insensitive, certain non-ASCII Unicode characters in request paths are incorrectly mapped to ASCII letters. The router and @fastify/express handle these paths differently, allowing unauthenticated requests to bypass middleware like authentication or rate-limiting if the mount path contains an affected Unicode character.

Detection Guidance

Check if your system uses @fastify/express version 4.0.0 through 4.0.9. Run: npm list @fastify/express. If the version is within this range, the system is potentially vulnerable.

Impact Analysis

An attacker could exploit this to access protected handlers without proper authentication or authorization, potentially bypassing security measures like rate-limiting or access controls. This is only possible if the application uses case-insensitive routing and the mount path includes an affected Unicode character.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data or protected endpoints, which may violate compliance requirements under GDPR (e.g., unauthorized data access) or HIPAA (e.g., unauthorized access to protected health information). The bypass of authentication or authorization middleware could result in non-compliance with access control and security standards.

Mitigation Strategies

Upgrade @fastify/express to version 4.0.10 or later. Run: npm update @fastify/express. Additionally, review Fastify routing configuration to ensure case-insensitive routing is not enabled if not required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-129850. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...