Vulnerability · Published Aug 25, 2025 · Assigned by GitHub_M
CVE-2025-57814request-filtering-agent SSRF Bypass via HTTPS Requests
Medium 5.5
In plain English
A medium-severity server-side request forgery in request-filtering-agent from azu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | request-filtering-agent | 2.0.0 | GHSA-pw25-c82r-75mm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| azu | request-filtering-agent | < 2.0.0 |
Weakness: CWE-918 · 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
References
- https://github.com/azu/request-filtering-agent/security/advisories/GHSA-pw25-c82r-75mm x_refsource_CONFIRM
- https://github.com/azu/request-filtering-agent-https127-test x_refsource_MISC