request-filtering-agent: Synchronous throw from createConnection() for literal private-IP hosts bypasses req.on('error'), crashing the Node.js process
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-62985
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:11 UTC · Revision 1
Source evidence
request-filtering-agent: Synchronous throw from createConnection() for literal private-IP hosts bypasses req.on('error'), crashing the Node.js process
core-osv · Original sourcePublished 22 Sept 2026, 19:13 UTC
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.
osv:CVE-2026-62985
Complete source record
{
"id": "6ed8480a58f98ad6adcdb405b7539223461a571018f1ed1804360a0e9023503d",
"url": "https://osv.dev/vulnerability/CVE-2026-62985",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "request-filtering-agent: Synchronous throw from createConnection() for literal private-IP hosts bypasses req.on('error'), crashing the Node.js process",
"summary": "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.",
"evidence": "osv:CVE-2026-62985",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-62985",
"aliases": [
"CVE-2026-62985",
"GHSA-r3r9-wp5j-pq5g"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/azu/request-filtering-agent",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2af890af1a24a834b8eb232b1aadfd0052e2e92c"
},
{
"fixed": "9d12561064524807fc399158eaa5bd7a40dd8cd0"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.2.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "9d12561064524807fc399158eaa5bd7a40dd8cd0"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "2af890af1a24a834b8eb232b1aadfd0052e2e92c"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v3.2.1"
}
]
}
}
],
"versions": [
"v3.2.0",
"v3.1.0",
"v3.0.2",
"v3.0.0",
"v2.0.1",
"v2.0.0",
"v1.1.2",
"v1.1.0",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"1.0.4",
"1.0.3",
"1.0.2",
"1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62985.json"
}
}
],
"modified": "2026-10-28T02:30:29.271638082Z",
"provider": "osv",
"references": [
"https://github.com/azu/request-filtering-agent/releases/tag/v3.2.1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62985.json",
"https://github.com/azu/request-filtering-agent/security/advisories/GHSA-r3r9-wp5j-pq5g",
"https://nvd.nist.gov/vuln/detail/CVE-2026-62985",
"https://github.com/azu/request-filtering-agent/commit/9d12561064524807fc399158eaa5bd7a40dd8cd0"
],
"provider_metadata": {
"cwe_ids": [
"CWE-248"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62985.json"
}
},
"related_cves": [
{
"value": "CVE-2026-62985",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496247,
"published_at": "2026-09-22T19:13:19.704+00:00"
}