CVE-2026-111181: When Uncaught Stream Errors Escape Routing Controls
CVE-2026-111181: When Uncaught Stream Errors Escape Routing Controls CVE-2026-111181 exposes a boundary that many application teams do not map explicitly: request parsing happens before the route handler and often before authentication. A failure in that early phase can terminate the Node.js process even when the eventual route would have rejected the request. Vulnerability overview Express and…
CVE-2026-111181 is a high-severity denial-of-service vulnerability affecting Express and body-parser before versions 1.20.9 and 2.4.0. The flaw occurs when uncaught stream errors escape routing controls due to request parsing happening before the route handler and authentication. A specific payload can trigger this by reaching the decoder after a valid frame is complete, causing an error that has no listener.
This leads to Node.js declaring an uncaught exception and the worker exiting, potentially disrupting service. The vulnerability is classified with a CVSS 3.1 score of 7.5 and is tracked as CWE-248. To remediate, upgrade to body-parser version 1.20.9 or 2.4.0, set inflate to false if compressed bodies are not needed, and review the parser's placement and authentication order. No confirmed in-the-wild exploitation has been reported.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.