{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-14181: @fastify/middie standalone engine vulnerable to Denial of Service via malformed percent-encoded paths","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-14181","status":"final","version":"1","initial_release_date":"2026-07-01T11:42:49.874Z","current_release_date":"2026-07-01T12:05:42.403Z","revision_history":[{"date":"2026-07-01T11:42:49.874Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"@fastify/middie versions 9.1.0 through 9.3.2 fail to guard the URL normalization step used by the standalone engine when incoming request paths contain malformed percent-encoded sequences. Inputs such as an incomplete percent escape or a truncated multibyte sequence cause the underlying decoder to throw synchronously, and the exception escapes the middie normalize step and terminates the Node.js process. The bypass affects applications that call middie.run directly on the standalone engine API, causing an immediate denial of service for all connected clients until restart. Applications using the Fastify plugin path are not affected because Fastifys error handler catches the exception. Patches: upgrade to @fastify/middie 9.3.3. Workarounds: migrate from the standalone engine API to the Fastify plugin path, where the framework error handler catches the exception.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-14181 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-14181"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-14181"},{"category":"external","summary":"github.com","url":"https://github.com/fastify/middie/security/advisories/GHSA-qcc9-jh8q-47vh"},{"category":"external","summary":"cna.openjsf.org","url":"https://cna.openjsf.org/security-advisories.html"}]},"product_tree":{"branches":[{"category":"vendor","name":"@fastify/middie","branches":[{"category":"product_name","name":"@fastify/middie","branches":[{"category":"product_version_range","name":">=9.1.0 <9.3.3","product":{"name":"@fastify/middie @fastify/middie >=9.1.0 <9.3.3","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:\\@fastify\\/middie:\\@fastify\\/middie:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"9.3.3","product":{"name":"@fastify/middie @fastify/middie 9.3.3","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:\\@fastify\\/middie:\\@fastify\\/middie:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-14181","title":"@fastify/middie standalone engine vulnerable to Denial of Service via malformed percent-encoded paths","notes":[{"category":"description","text":"@fastify/middie versions 9.1.0 through 9.3.2 fail to guard the URL normalization step used by the standalone engine when incoming request paths contain malformed percent-encoded sequences. Inputs such as an incomplete percent escape or a truncated multibyte sequence cause the underlying decoder to throw synchronously, and the exception escapes the middie normalize step and terminates the Node.js process. The bypass affects applications that call middie.run directly on the standalone engine API, causing an immediate denial of service for all connected clients until restart. Applications using the Fastify plugin path are not affected because Fastifys error handler catches the exception. Patches: upgrade to @fastify/middie 9.3.3. Workarounds: migrate from the standalone engine API to the Fastify plugin path, where the framework error handler catches the exception.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"],"fixed":["CSAFPID-2"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 9.3.3.","product_ids":["CSAFPID-1"]}]}]}