Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. request-filtering-agent
  4. ›
  5. CVE-2025-57814

CVE-2025-57814: request-filtering-agent SSRF Bypass via HTTPS Requests to 127.0.0.1

August 25, 2025 (updated August 26, 2025)

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.

Impact:

Vulnerable patterns (requests that should be blocked but are allowed):

  • https://127.0.0.1:443/api
  • https://127.0.0.1:8443/admin
  • Any HTTPS request using direct IP address https://127.0.0.1

This vulnerability primarily affects services using self-signed certificates on 127.0.0.1.

Not affected (correctly blocked in all versions):

  • http://127.0.0.1:80/api - HTTP requests are properly blocked
  • https://localhost:443/api - Domain-based requests trigger DNS lookup and are blocked
  • http://localhost:80/api - Domain-based HTTP requests are blocked
  • Requests to other private IPs like 192.168.x.x, 10.x.x.x, 172.16.x.x

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.

References

  • github.com/advisories/GHSA-pw25-c82r-75mm
  • github.com/azu/request-filtering-agent
  • github.com/azu/request-filtering-agent-https127-test
  • github.com/azu/request-filtering-agent/security/advisories/GHSA-pw25-c82r-75mm
  • nvd.nist.gov/vuln/detail/CVE-2025-57814

Code Behaviors & Features

Detect and mitigate CVE-2025-57814 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 →

Affected versions

All versions before 2.0.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/request-filtering-agent/CVE-2025-57814.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 27 Aug 2025 00:20:30 +0000.