PatchSiren cyber security CVE debrief
CVE-2026-111181 body-parser CVE debrief
A vulnerability in the body-parser npm package can cause a Denial of Service (DoS) via trailing bytes after a compressed request body. Applications using body-parser with default options are vulnerable to a single request that can crash the process. No authentication or matching route is required for this vulnerability. The vulnerability occurs when a request with a 'Content-Encoding' header (e.g., gzip) is received, and body-parser pipes it into a decompression stream without an error listener. This can lead to a potential Denial of Service (DoS) via a single request, with no authentication or matching route required for exploitation.
- Vendor
- body-parser
- Product
- Unknown
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-23
- Original CVE updated
- 2026-10-23
- Advisory published
- 2026-10-23
- Advisory updated
- 2026-10-23
Who should care
Defenders responsible for applications using the body-parser npm package should assess exposure and prioritize remediation. This vulnerability can be exploited with a single request, and no authentication or matching route is required.
Why it matters
Defenders should care about CVE-2026-111181 because it can cause a Denial of Service (DoS) in applications using body-parser with default options. The vulnerability can be exploited with a single request, and no authentication or matching route is required. Defenders responsible for applications using body-parser should assess exposure and prioritize remediation.
- Potential Denial of Service (DoS) via a single request
- No authentication or matching route required for exploitation
- Exploitation can terminate the process
Technical summary
The body-parser npm package is vulnerable to a Denial of Service (DoS) attack via trailing bytes after a compressed request body. This occurs when a request with a 'Content-Encoding' header (e.g., gzip) is received, and body-parser pipes it into a decompression stream without an error listener. The vulnerability can cause a Denial of Service (DoS) in applications using body-parser with default options. The vulnerability can be exploited with a single request, and no authentication or matching route is required. Defenders should prioritize upgrading to body-parser version 2.4.0 or 1.20.9. If upgrading is not feasible, passing 'inflate: false' to the body-parser middleware can prevent exploitation.
Defensive priority
Defenders should prioritize upgrading to body-parser version 2.4.0 or 1.20.9. If upgrading is not feasible, passing 'inflate: false' to the body-parser middleware can prevent exploitation.
Recommended defensive actions
- Upgrade to body-parser version 2.4.0 or 1.20.9
- Pass 'inflate: false' to the body-parser middleware if compressed request bodies are not needed
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The vulnerability is caused by body-parser's handling of compressed request bodies. When a request with a 'Content-Encoding' header (e.g., gzip) is received, body-parser pipes it into a decompression stream. If the stream finishes without an error listener, trailing bytes can cause an error that terminates the process.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-111181 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-111181
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-111181 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-111181
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/npm/GHSA-27r3-jxmh-p828.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/expressjs/body-parser/security/advisories/GHSA-27r3-jxmh-p828
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/expressjs/body-parser/commit/1260c3845f54502a05a87594f09a334786bb34d7
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/expressjs/body-parser/commit/f7075eae3a84c3473ab4bf0a777da28db208e916
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://cna.openjsf.org/security-advisories.html
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/expressjs/body-parser
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/expressjs/body-parser/releases/tag/1.20.9
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/expressjs/body-parser/releases/tag/v2.4.0
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.