Nodejs node
A flaw in Node.js HTTP request handling causes an uncaught `TypeError` when a request is received with a header named `__proto__` and the application accesses `req.headersDistinct`. When this occurs, `dest["__proto__"]` resolves to `Object.prototype` rather than `undefined`, causing `.push()` to be called on a non-array. This exception is thrown synchronously inside a property getter and cannot be intercepted by `error` event listeners, meaning it cannot be handled without wrapping every `req.headersDistinct` access in a `try/catch`. * This vulnerability affects all Node.js HTTP servers on **20.x, 22.x, 24.x, and v25.x**
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 20.20.1, <= 20.20.1
- >= 22.22.1, <= 22.22.1
- >= 24.14.0, <= 24.14.0
- >= 25.8.1, <= 25.8.1
- >= 4.0, < 4.*
- >= 5.0, < 5.*
- >= 6.0, < 6.*
- >= 7.0, < 7.*
- >= 8.0, < 8.*
- >= 9.0, < 9.*
- >= 10.0, < 10.*
- >= 11.0, < 11.*
- >= 12.0, < 12.*
- >= 13.0, < 13.*
- >= 14.0, < 14.*
- >= 15.0, < 15.*
- >= 16.0, < 16.*
- >= 17.0, < 17.*
- >= 18.0, < 18.*
- >= 19.0, < 19.*
Fixed in 4.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 18.*, 19.*
Mitigation
Upgrade node to 4.* or 5.* or 6.* or 7.* or 8.* or 9.* or 10.* or 11.* or 12.* or 13.* or 14.* or 15.* or 16.* or 17.* or 18.* or 19.* or later.
Timeline
Days relative to CVE publicationFirst public PoC 1.5 days after publication; not in CISA KEV. First PoC: open-flaw/CVE-2026-21710 (created 1 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| open-flaw/CVE-2026-21710 | 1 Apr 2026 +1.5 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.