CVE-2026-62985 request-filtering-agent: Synchronous throw from createConnection() for literal private-IP hosts bypasses req.on('error'), crashing the Node.js process
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
request-filtering-agent is an http(s).Agent implementation that blocks requests to Private/Reserved IP addresses. Prior to 3.2.1, RequestFilteringHttpAgent and RequestFilteringHttpsAgent synchronously threw from createConnection when rejecting a literal private-IP host such as 169.254.169.254 or 127.0.0.1. Because Node.js http.request and http.get expect connection failures to be delivered asynchronously, the throw bypassed req.on('error') and became an uncaught exception that could terminate the application process. Hostnames resolved through the asynchronous lookup path were not affected by this error-delivery asymmetry. This issue is fixed in version 3.2.1.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm request-filtering-agent(npm) | < 3.2.1 | 3.2.1 | Fixed |
| azu request-filtering-agent | = < 3.2.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azu request-filtering-agent | = < 3.2.1 | No fix listed |
| npm request-filtering-agent(npm) | < 3.2.1 | 3.2.1 |
References
- https://github.com/azu/request-filtering-agent/security/advisories/GHSA-r3r9-wp5j-pq5g exploit vendor-advisory
- https://github.com/azu/request-filtering-agent/commit/9d12561064524807fc399158eaa5bd7a40dd8cd0 patch
- https://github.com/azu/request-filtering-agent/releases/tag/v3.2.1
- github.com
- github.com product
- ENISA EUVD EUVD-2026-84679 third-party-advisory