CVE-2025-27152
Possible SSRF and Credential Leakage via Absolute URL in axios Requests
Reported by github_m · Published March 7, 2025
axios is fixed in 1.8.2 and 0.30.0 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| axios | npm | 1.8.2, 0.30.0 |
| lerna | Chainguard | 8.2.1-r1 |
| gitlab-rails-ce-fips-18.11 | Chainguard | 18.11.12-r2 |
| prism | Chainguard | 5.12.1-r4 |
| gitlab-rails-ce-fips-19.2 | Chainguard | 19.2.5-r2 |
| kubeflow-pipelines | Chainguard | 2.4.0-r5 |
| jitsucom-jitsu | Chainguard | 2.8.6-r2 |
| gitlab-rails-ce-19.0 | Chainguard | 19.0.10-r0 |
| prism | Wolfi | 5.12.1-r4 |
| gitlab-rails-ce-fips-19.0 | Chainguard | 19.0.9-r3 |
| gitlab-rails-ce-fips-18.9 | Chainguard | 18.9.8-r8 |
| lerna | Wolfi | 8.2.1-r1 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| axios | axios | < 1.8.2 |
| npm | axios | 0, 1.0.0 |
| chainguard | lerna | 0 |
| chainguard | gitlab-rails-ce-fips-18.11 | 0 |
| chainguard | prism | 0 |
| chainguard | gitlab-rails-ce-fips-19.2 | 0 |
| chainguard | kubeflow-pipelines | 0 |
| chainguard | jitsucom-jitsu | 0 |
| chainguard | gitlab-rails-ce-19.0 | 0 |
| wolfi | prism | 0 |
| chainguard | gitlab-rails-ce-fips-19.0 | 0 |
| chainguard | gitlab-rails-ce-fips-18.9 | 0 |
| wolfi | lerna | 0 |
| wolfi | tileserver-gl | 0 |
| chainguard | gitlab-rails-ce-19.1 | 0 |
| chainguard | tileserver-gl-fips | 0 |
| chainguard | gitlab-rails-ce-19.2 | 0 |
| chainguard | opensearch-dashboards-2 | 0 |
| chainguard | airflow-2 | 0 |
| chainguard | gitlab-rails-ce-fips-19.3 | 0 |
…and 13 more
Timeline
- Mar 7, 2025 CVE Published
- Mar 8, 2025 EPSS Score (30 in total, the first dated here)
- Mar 14, 2025 Coalition ESS Score (22 in total, the first dated here)
- Dec 19, 2025 Security Advisory (3 in total, the first dated here)
- Apr 18, 2026 PoC Published
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-27152
vulnetix vdb fixes CVE-2025-27152
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-27152/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6 x_refsource_CONFIRM
- https://github.com/axios/axios/issues/6463 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-27152 advisory
- https://github.com/advisories/GHSA-jr5f-v2jv-69x6 advisory
- https://github.com/axios/axios/pull/6829 patch
- https://github.com/axios/axios/commit/02c3c69ced0f8fd86407c23203835892313d7fde patch
- https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f patch
- https://github.com/axios/axios url
- https://github.com/axios/axios/releases/tag/v1.8.2 url