# CVE-2026-62985: request-filtering-agent: Synchronous throw from createConnection() for literal private-IP hosts bypasses req.on('error'), crashing the Node.js process

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-22T19:13:19.704Z
- Modified: 2026-09-26T01:17:01.530Z
- Also known as: GHSA-r3r9-wp5j-pq5g
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- azu request-filtering-agent: < 3.2.1
- request-filtering-agent (npm): before 3.2.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/azu/request-filtering-agent/security/advisories/GHSA-r3r9-wp5j-pq5g> (exploit, web)
- <https://github.com/azu/request-filtering-agent/commit/9d12561064524807fc399158eaa5bd7a40dd8cd0> (web)
- <https://github.com/azu/request-filtering-agent/releases/tag/v3.2.1> (web)
- <https://github.com/azu/request-filtering-agent> (package)

## Sources

- CVE List: [CVE-2026-62985](https://www.cve.org/CVERecord?id=CVE-2026-62985), CVE Terms of Use, modified 2026-09-26
- GitHub Advisory Database: [GHSA-r3r9-wp5j-pq5g](https://github.com/advisories/GHSA-r3r9-wp5j-pq5g), CC-BY-4.0, modified 2026-09-22
- NVD: [CVE-2026-62985](https://nvd.nist.gov/vuln/detail/CVE-2026-62985), Public domain, modified 2026-09-26

---

Page: https://cve.day/CVE-2026-62985 · Whole record: https://cve.day/CVE-2026-62985.json · Rebuilt by cve.day 2026-11-25T22:59:40.536Z
