CVE-2026-62985: request-filtering-agent: Synchronous throw from createConnection() for literal private-IP hosts bypasses req.on('error'), crashing the Node.js process
RequestFilteringHttpAgent / RequestFilteringHttpsAgent block requests to private IPs, but the blocking happens via a synchronous throw inside createConnection() for literal private-IP hostnames (e.g. 169.254.169.254, 127.0.0.1). Node.js’s http.request / http.get expects createConnection to emit an error asynchronously; a synchronous throw instead escapes the caller’s req.on('error', ...) handler entirely and becomes an unhandled exception that crashes the process.
References
- github.com/advisories/GHSA-r3r9-wp5j-pq5g
- github.com/azu/request-filtering-agent/commit/9d12561064524807fc399158eaa5bd7a40dd8cd0
- github.com/azu/request-filtering-agent/releases/tag/v3.2.1
- github.com/azu/request-filtering-agent/security/advisories/GHSA-r3r9-wp5j-pq5g
- nvd.nist.gov/vuln/detail/CVE-2026-62985
Code Behaviors & Features
Detect and mitigate CVE-2026-62985 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →