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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-07T15:13:15.155Z
- Modified: 2026-09-10T03:50:56.787Z
- Also known as: GHSA-jr5f-v2jv-69x6
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- axios axios: < 1.8.2; before 0.30.0; from 1.0.0 up to 1.7.9
- axios (npm): from 1.0.0 before 1.8.2; before 0.30.0

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6> (exploit, vendor-advisory, web)
- <https://github.com/axios/axios/issues/6463> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27152> (advisory)
- <https://github.com/axios/axios/pull/6829> (web)
- <https://github.com/axios/axios/commit/02c3c69ced0f8fd86407c23203835892313d7fde> (web)
- <https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f> (web)
- <https://github.com/axios/axios> (package)
- <https://github.com/axios/axios/releases/tag/v1.8.2> (web)

## Sources

- CVE List: [CVE-2025-27152](https://www.cve.org/CVERecord?id=CVE-2025-27152), CVE Terms of Use, modified 2025-03-07
- GitHub Advisory Database: [GHSA-jr5f-v2jv-69x6](https://github.com/advisories/GHSA-jr5f-v2jv-69x6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-27152](https://nvd.nist.gov/vuln/detail/CVE-2025-27152), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27152 · Whole record: https://cve.day/CVE-2025-27152.json · Rebuilt by cve.day 2026-11-25T22:58:55.053Z
