{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-135279","published":"2026-11-26T17:17:06.490000Z","last_modified":"2026-11-26T17:17:06.490000Z","status":"Received","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"ce714d77-add3-4f53-aff5-83d477b104bb","primary":false},"auth":false,"cwes":["CWE-287","CWE-436"],"cpes":[],"cpes_truncated":false,"vendors":["fastify-express"],"products":["fastify-express/fastify-express"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":77,"links":{"html_es":"/es/cve/CVE-2026-135279/","html_en":"/en/cve/CVE-2026-135279/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-135279","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-135279"},"untrusted":{"vendor_name":"@fastify/express","product_name":"@fastify/express","desc_en":"@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions before 4.0.14, a request with an empty dynamic route parameter reaches a Fastify route handler while middleware mounted for that path inside an Express Router or sub-application is skipped, because Fastify's router accepts an empty value where Express requires a non-empty one, and an unanchored regular-expression mount passed to the plugin is bypassed the same way. An earlier fix covered only the mount paths passed to the plugin directly, not middleware mounted inside a routed Express application. An attacker can use this to bypass authentication or other middleware-based access controls on the affected routes, with the practical impact depending on what the empty value selects in the application. The issue is fixed in @fastify/express 4.0.14, and users should upgrade to 4.0.14 or later. As a workaround, enforce authentication in a Fastify hook such as preHandler that runs after routing, mount the middleware on a static parent path, or require non-empty values in the route params schema.","affected":[{"untrusted_vendor":"@fastify/express","untrusted_product":"@fastify/express","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"4082d8f8f980f6deafbccf068930d015","generated":"2026-12-01T03:47:42.678997Z","es":{"untrusted_title":"Omisión de middleware de autenticación en @fastify/express","untrusted_summary":"@fastify/express versiones anteriores a 4.0.14 permiten omitir middleware de autenticación cuando se usan parámetros de ruta dinámicos vacíos. Un atacante puede explotar esta falla para eludir controles de acceso basados en middleware, ya que Fastify acepta valores vacíos donde Express requiere valores no vacíos."},"en":{"untrusted_title":"Authentication middleware bypass in @fastify/express","untrusted_summary":"@fastify/express versions before 4.0.14 allow bypassing authentication middleware when empty dynamic route parameters are used. An attacker can exploit this vulnerability to bypass middleware-based access controls, since Fastify accepts empty values where Express requires non-empty ones."},"remediation":{"status":"fix","fixed_versions":["4.0.14"],"untrusted_action_es":"Actualiza @fastify/express a versión 4.0.14 o posterior. Como mitigación temporal, aplica autenticación en hooks de Fastify como preHandler o requiere valores no vacíos en el esquema de parámetros.","untrusted_action_en":"Update @fastify/express to version 4.0.14 or later. As a temporary workaround, enforce authentication in Fastify hooks like preHandler or require non-empty values in route parameter schemas.","vendor_url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-f9qf-hfc5-7xpj"},"reviewed":false},"references":[{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]},{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-f9qf-hfc5-7xpj","tags":[]}]}}