CVE-2025-27152

NameCVE-2025-27152
Descriptionaxios 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-axios (PTS)bullseye0.21.1+dfsg-1+deb11u1vulnerable
bookworm1.2.1+dfsg-1vulnerable
sid, trixie1.7.9+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-axiossource(unstable)(unfixed)

Notes

[bookworm] - node-axios <no-dsa> (Minor issue)
https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6
Similar to: https://github.com/axios/axios/issues/6463 (CVE-2024-39338)

Search for package or bug name: Reporting problems