{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-112712","published":"2026-10-20T21:17:17.910000Z","last_modified":"2026-10-30T18:17:21.243000Z","status":"Deferred","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-436"],"cpes":[],"cpes_truncated":false,"vendors":["fastify-middie"],"products":["fastify-middie/fastify-middie"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-112712/","html_en":"/en/cve/CVE-2026-112712/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-112712","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-112712"},"untrusted":{"vendor_name":"@fastify/middie","product_name":"@fastify/middie","desc_en":"@fastify/middie is the Express-style middleware engine for Fastify. In versions from 9.0.0 through 9.3.5, the use() function joined a path-scoped middleware's mount path to the plugin scope prefix in a way that could diverge from the path Fastify's router serves, most often when the scope prefix ended in a slash, and also for array mount paths and for mount paths written without a leading slash. When the two paths disagreed, the middleware was silently skipped while the route handler still ran, so path-scoped middleware such as authentication, authorization, or rate limiting could be bypassed by a single unauthenticated request. The issue is fixed in @fastify/middie 9.3.6, and users should upgrade to 9.3.6 or later. As a workaround, enforce authorization in a Fastify hook such as preHandler that runs after the router has resolved the request.","affected":[{"untrusted_vendor":"@fastify/middie","untrusted_product":"@fastify/middie","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"24e79ec6080b455e2cabd7d22a443e32","generated":"2026-11-26T22:25:25.794001Z","es":{"untrusted_title":"Omisión de middleware de autenticación en @fastify/middie","untrusted_summary":"@fastify/middie versiones 9.0.0 a 9.3.5 presentan un fallo en la construcción de rutas de middleware con alcance de ruta que puede causar que el middleware se omita silenciosamente mientras el manejador de ruta se ejecuta. Un atacante sin autenticación puede eludir controles de seguridad como autenticación, autorización o limitación de velocidad realizando una única solicitud."},"en":{"untrusted_title":"Authentication middleware bypass in @fastify/middie","untrusted_summary":"@fastify/middie versions 9.0.0 through 9.3.5 have a flaw in path-scoped middleware routing that can cause middleware to be silently skipped while the route handler still executes. An unauthenticated attacker can bypass security controls such as authentication, authorization, or rate limiting with a single request."},"remediation":{"status":"fix","fixed_versions":["9.3.6"],"untrusted_action_es":"Actualiza @fastify/middie a la versión 9.3.6 o posterior.","untrusted_action_en":"Update @fastify/middie to version 9.3.6 or later.","vendor_url":"https://github.com/fastify/middie/security/advisories/GHSA-5p92-8765-9fv8"},"reviewed":false},"references":[{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]},{"url":"https://github.com/fastify/middie/security/advisories/GHSA-5p92-8765-9fv8","tags":[]}]}}