{"id":"CVE-2025-57814","aliases":["CVE-2025-57814","GHSA-pw25-c82r-75mm"],"related":[],"kind":"vulnerability","state":"published","title":"request-filtering-agent SSRF Bypass via HTTPS Requests","summary":"request-filtering-agent is an http(s).Agent implementation that blocks requests to Private/Reserved IP addresses. Versions 1.x.x and earlier contain a vulnerability where HTTPS requests to 127.0.0.1 bypass IP address filtering, while HTTP requests are correctly blocked. This allows attackers to potentially access internal HTTPS services running on localhost, bypassing the library's SSRF protection. The vulnerability is particularly dangerous when the application accepts user-controlled URLs and internal services are only protected by network-level restrictions. This vulnerability has been fixed in request-filtering-agent version 2.0.0. Users should upgrade to version 2.0.0 or later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"request-filtering-agent is an http(s).Agent implementation that blocks requests to Private/Reserved IP addresses. Versions 1.x.x and earlier contain a vulnerability where HTTPS requests to 127.0.0.1 bypass IP address filtering, while HTTP requests are correctly blocked. This allows attackers to potentially access internal HTTPS services running on localhost, bypassing the library's SSRF protection. The vulnerability is particularly dangerous when the application accepts user-controlled URLs and internal services are only protected by network-level restrictions. This vulnerability has been fixed in request-filtering-agent version 2.0.0. Users should upgrade to version 2.0.0 or later.","source":"cvelist"},{"lang":"en","text":"request-filtering-agent versions 1.x.x and earlier contain a vulnerability where HTTPS requests to 127.0.0.1 bypass IP address filtering, while HTTP requests are correctly blocked.\n\n**Impact:**\n\nVulnerable patterns (requests that should be blocked but are allowed):\n- https://127.0.0.1:443/api\n- https://127.0.0.1:8443/admin\n- Any HTTPS request using direct IP address `https://127.0.0.1`\n\nThis vulnerability primarily affects services using self-signed certificates on `127.0.0.1`.\n\n**Not affected (correctly blocked in all versions):**\n- http://127.0.0.1:80/api - HTTP requests are properly blocked\n- https://localhost:443/api - Domain-based requests trigger DNS lookup and are blocked\n- http://localhost:80/api - Domain-based HTTP requests are blocked\n- Requests to other private IPs like 192.168.x.x, 10.x.x.x, 172.16.x.x\n\nThis allows attackers to potentially access internal HTTPS services running on localhost, bypassing the library's SSRF protection. The vulnerability is particularly dangerous when the application accepts user-controlled URLs and internal services are only protected by network-level restrictions.\n\n## Fixed in 2.0.0\n\nThis vulnerability has been fixed in request-filtering-agent version 2.0.0. Users should upgrade to version 2.0.0 or later.\n\nRoot Cause:The HTTPS agent fails to validate direct IP addresses like `https://127.0.0.1` during TLS connection setup, allowing them to bypass the security filter.\n\nDetails: https://github.com/azu/request-filtering-agent-https127-test\n\nThanks Luca","format":"markdown","source":"ghsa"},{"lang":"es","text":"request-filtering-agent es una implementación de http(s).Agent que bloquea las solicitudes a direcciones IP privadas/reservadas. Las versiones 1.xx y anteriores contienen una vulnerabilidad donde las solicitudes HTTPS a 127.0.0.1 eluden el filtrado de direcciones IP, mientras que las solicitudes HTTP se bloquean correctamente. Esto permite a los atacantes acceder potencialmente a servicios HTTPS internos que se ejecutan en el host local, evadiendo la protección SSRF de la librería. Esta vulnerabilidad es especialmente peligrosa cuando la aplicación acepta URL controladas por el usuario y los servicios internos solo están protegidos por restricciones a nivel de red. Esta vulnerabilidad se ha corregido en la versión 2.0.0 de request-filtering-agent. Los usuarios deben actualizar a la versión 2.0.0 o posterior.","source":"nvd"}],"published":"2025-08-25T21:48:01.000Z","modified":"2026-06-17T09:43:29.200Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 2.0.0","status":"affected"}],"vendor":"azu","product":"request-filtering-agent","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.0"}],"ecosystem":"npm","package":"request-filtering-agent","purl":"pkg:npm/request-filtering-agent","source":"ghsa"}],"references":[{"url":"https://github.com/azu/request-filtering-agent/security/advisories/GHSA-pw25-c82r-75mm","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/azu/request-filtering-agent-https127-test","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57814","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/azu/request-filtering-agent","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-08-26T14:39:29.746Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-57814","url":"https://www.cve.org/CVERecord?id=CVE-2025-57814","licence":"CVE Terms of Use","modified":"2025-08-26T14:39:35.687Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pw25-c82r-75mm","url":"https://github.com/advisories/GHSA-pw25-c82r-75mm","licence":"CC-BY-4.0","modified":"2025-08-26T17:12:50.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-57814","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57814","licence":"Public domain","modified":"2026-06-17T09:43:29.200Z"}],"updatedAt":"2026-11-25T22:59:03.670Z","epss":{"score":0.00522,"percentile":0.45802,"date":"2026-12-01T12:00:22.000Z"}}