
PEACH
Uma estrutura de isolamento de inquilino
CVE-2026-132128 is a path-scoped middleware authentication bypass vulnerability in @fastify/middie caused by a Unicode case-folding mismatch between the Fastify router and the middleware matching layer. Affected versions are @fastify/middie <= 9.3.6; the issue is fixed in v9.3.7. The vulnerability was disclosed on November 18, 2026, via a GitHub Security Advisory. It carries a CVSS v3.1 base score of 7.4 (High) (GitHub Advisory).
The root cause is an improper handling of case sensitivity (CWE-178) leading to incorrect authorization (CWE-863). When Fastify is configured with routerOptions.caseSensitive: false, its router normalizes request paths using JavaScript's toLowerCase(), which maps the Unicode character U+212A (KELVIN SIGN, percent-encoded as %E2%84%AA) to the ASCII letter k. However, @fastify/middie matches path-scoped middleware mount paths using a case-insensitive regular expression that does not perform this Unicode folding. As a result, a request to /api/%E2%84%AAeys is resolved by the router to the /api/keys handler, while any middleware mounted at /api/keys (e.g., authentication or rate limiting) never matches the request path and is silently skipped. Exploitation requires no authentication or user interaction, but does require the application to have caseSensitive: false enabled and a middleware mount path containing the letter k (GitHub Advisory).
A successful exploit allows an unauthenticated remote attacker to bypass path-scoped middleware controls — including authentication, authorization, and rate limiting — and directly access protected route handlers. The confidentiality and integrity impacts are rated High, as an attacker could read sensitive data or perform unauthorized write operations on resources that were intended to be protected. Availability is not directly impacted. The scope is limited to applications using @fastify/middie with case-insensitive routing and middleware mounted on paths containing the letter k (GitHub Advisory).
A proof-of-concept exploit path is described in the GitHub Security Advisory, providing sufficient detail (the crafted path /api/%E2%84%AAeys) to reproduce the bypass, though no runnable exploit code has been published. There is no evidence of active in-the-wild exploitation at this time. The CVE status is currently Reserved, and it does not appear in the CISA Known Exploited Vulnerabilities catalog. No EPSS score or threat actor attribution is available (GitHub Advisory).
@fastify/middie <= 9.3.6 with routerOptions.caseSensitive: false configured, and locate a route whose path contains the letter k that is protected by path-scoped middleware (e.g., /api/keys guarded by an authentication middleware).k in the protected path is replaced with the URL-encoded Unicode KELVIN SIGN: %E2%84%AA. For example, replace /api/keys with /api/%E2%84%AAeys.GET /api/%E2%84%AAeys) to the target server without any authentication credentials or tokens.%E2%84%AA to k via toLowerCase() and routes the request to the /api/keys handler. The middleware layer, using a non-Unicode-aware case-insensitive regex, fails to match the mount path and is skipped entirely, granting unauthenticated access to the protected handler (GitHub Advisory).%E2%84%AA (UTF-8 encoding of U+212A KELVIN SIGN) in the URL path, particularly in paths that correspond to sensitive or protected API endpoints (e.g., /api/%E2%84%AAeys).%E2%84%AA in the path that result in successful 2xx responses to normally protected endpoints, without corresponding authentication headers or session tokens.Upgrade @fastify/middie to v9.3.7 or later, which correctly reads routerOptions.caseSensitive and applies consistent Unicode-aware path matching in the middleware layer. If an immediate upgrade is not possible, two workarounds are available: (1) enforce authentication and authorization logic inside a Fastify hook such as preHandler, which executes after the router resolves the request and is not subject to the middleware path-matching bug; or (2) leave routing case-sensitive (the default caseSensitive: true), which avoids the Unicode folding mismatch entirely (GitHub Advisory).
The advisory was published by Fastify maintainer mcollina on November 18, 2026, with remediation credited to UlisesGascon. The disclosure follows responsible security practices with a patch released simultaneously. No significant broader media coverage or notable external researcher commentary has been identified at this time (GitHub Advisory).
Origem: Este relatório foi gerado usando IA
Avaliação Gratuita de Vulnerabilidades
Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.
Marque uma demonstração personalizada
"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."