npm package
axios 0.28.1 vulnerabilities, and the version that fixes all of them
axios 0.28.1 has 27 known vulnerabilities (12 rated high or critical); 0.34.0 fixes all of them.
npm (opens in a new tab) describes it as “Promise based HTTP client for the browser and node.js”
- Known vulnerabilities
- 27
- 12 rated high or critical
- Released
- Mar 28, 2024
- Latest is 1.20.0
- Downloads last week
- 139.8K
- Under 1% of axios downloads
- Licence
- MIT
- Pulls in
- 25 packages
- Resolved by deps.dev
What to upgrade to
0.34.0 is the closest release with no known vulnerabilities.
0.34.0Upgrade to this
Fixes all 27 known vulnerabilities. Released Sep 16, 2026.
No known vulnerabilitiesLatest release. Released Aug 26, 2026.
No known vulnerabilities
0.34.0 came out on Sep 16, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
27 known vulnerabilities in axios 0.28.1
EPSS: top 20%12 rated high or critical. Most serious: CVE-2026-25639, Axios is Vulnerable to Denial of Service via __proto__ Key in mergeConfig. Upgrading to 0.34.0 fixes all of them.
- LowOutdated
axios 0.28.1 is 1 major version behind
Latest release is 1.20.0.
Every advisory for axios 0.28.1
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
WarningCVE-2026-40175 on OSV.dev (opens in a new tab)GHSA-fvcv-3m26-pcqxEPSS: top 20%
Axios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain
Fixed in 0.31.0. Published Apr 10, 2026.
CriticalCVE-2026-25639 on OSV.dev (opens in a new tab)GHSA-43fc-jf86-j433EPSS: top 20%
Axios is Vulnerable to Denial of Service via __proto__ Key in mergeConfig
Fixed in 0.30.3. Published Feb 9, 2026.
WarningCVE-2026-44490 on OSV.dev (opens in a new tab)GHSA-898c-q2cr-xwhgEPSS: top 26%
axios has DoS & Header Injection via Prototype Pollution Read-Side Gadgets in axios merge functions
Fixed in 0.32.0. Published May 29, 2026.
CriticalCVE-2026-44492 on OSV.dev (opens in a new tab)GHSA-pjwm-pj3p-43mvEPSS: top 33%
axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)
Fixed in 0.32.0. Published May 29, 2026.
WarningCVE-2025-62718 on OSV.dev (opens in a new tab)GHSA-3p68-rc4w-qgx5EPSS: top 33%
Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF
Fixed in 0.31.0. Published Apr 9, 2026.
CriticalCVE-2025-58754 on OSV.dev (opens in a new tab)GHSA-4hjh-wcwx-xvwjEPSS: top 34%
Axios is vulnerable to DoS attack through lack of data size check
Fixed in 0.30.2. Published Sep 11, 2025.
CriticalCVE-2026-44495 on OSV.dev (opens in a new tab)GHSA-3g43-6gmg-66jwEPSS: top 37%
axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge
Fixed in 0.31.1. Published May 29, 2026.
CriticalCVE-2026-44496 on OSV.dev (opens in a new tab)GHSA-hfxv-24rg-xrqfEPSS: top 39%
Axios: Regular Expression Denial of Service (ReDoS) via Cookie Name Injection
Fixed in 0.32.0. Published Jun 4, 2026.
WarningCVE-2026-42039 on OSV.dev (opens in a new tab)GHSA-62hf-57xw-28j9EPSS: top 39%
Axios: unbounded recursion in toFormData causes DoS via deeply nested request data
Fixed in 0.31.1. Published May 5, 2026.
CriticalCVE-2026-42033 on OSV.dev (opens in a new tab)GHSA-pf86-5x62-jrwfEPSS: top 41%
Axios: Prototype Pollution Gadgets - Response Tampering, Data Exfiltration, and Request Hijacking
Fixed in 0.31.1. Published May 5, 2026.
WarningCVE-2026-42041 on OSV.dev (opens in a new tab)GHSA-w9j2-pvgh-6h63EPSS: top 44%
Axios: Authentication Bypass via Prototype Pollution Gadget in `validateStatus` Merge Strategy
Fixed in 0.31.1. Published May 5, 2026.
CriticalCVE-2025-27152 on OSV.dev (opens in a new tab)GHSA-jr5f-v2jv-69x6EPSS: top 45%
axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL
Fixed in 0.30.0. Published Mar 7, 2025.
CriticalCVE-2026-44487 on OSV.dev (opens in a new tab)GHSA-p92q-9vqr-4j8vEPSS: top 46%
Axios: Proxy-Authorization Credential Leak to Origin Server Across HTTP-to-HTTPS Redirect in Axios Node.js HTTP Adapter
Fixed in 0.32.0. Published Jun 4, 2026.
CriticalCVE-2026-44486 on OSV.dev (opens in a new tab)GHSA-j5f8-grm9-p9fcEPSS: top 46%
Axios: Proxy-Authorization header leaks to redirect target when proxy is re-evaluated to direct connection
Fixed in 0.32.0. Published Jun 4, 2026.
CriticalCVE-2026-42043 on OSV.dev (opens in a new tab)GHSA-pmwg-cvhr-8vh7EPSS: top 48%
Axios: Incomplete Fix for CVE-2025-62718 — NO_PROXY Protection Bypassed via RFC 1122 Loopback Subnet (127.0.0.0/8) in Axios 1.15.0
Fixed in 0.31.1. Published May 5, 2026.
WarningCVE-2026-67313 on OSV.dev (opens in a new tab)GHSA-42h9-826w-cgv3EPSS: top 58%
Axios: Excessive recursion in formDataToJSON can cause denial of service
Fixed in 0.33.0. Published Jul 20, 2026.
WarningCVE-2026-67312 on OSV.dev (opens in a new tab)GHSA-pmv8-rq9r-6j72EPSS: top 58%
Axios: Deep formToJSON Key Recursion Can Cause Denial of Service
Fixed in 0.33.0. Published Jul 20, 2026.
WarningCVE-2026-42034 on OSV.dev (opens in a new tab)GHSA-5c9x-8gcm-mpgxEPSS: top 61%
Axios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0
Fixed in 0.31.1. Published May 5, 2026.
WarningCVE-2026-42036 on OSV.dev (opens in a new tab)GHSA-vf2m-468p-8v99EPSS: top 61%
Axios: HTTP adapter streamed responses bypass maxContentLength
Fixed in 0.31.1. Published May 5, 2026.
WarningCVE-2026-67316 on OSV.dev (opens in a new tab)GHSA-mmx7-hfxf-jppxEPSS: top 65%
Axios: Prototype pollution gadgets can alter axios request construction
Fixed in 0.33.0. Published Jul 20, 2026.
WarningCVE-2026-101902 on OSV.dev (opens in a new tab)GHSA-9fr6-4gfg-395gEPSS: top 66%
Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP Method
Fixed in 0.34.0. Published Sep 30, 2026.
CriticalCVE-2026-42035 on OSV.dev (opens in a new tab)GHSA-6chq-wfr3-2hj9EPSS: top 70%
Axios: Header Injection via Prototype Pollution
Fixed in 0.31.1. Published May 5, 2026.
WarningCVE-2026-42038 on OSV.dev (opens in a new tab)GHSA-m7pr-hjqh-92cmEPSS: top 70%
Axios: no_proxy bypass via IP alias allows SSRF
Fixed in 0.31.1. Published May 5, 2026.
CriticalCVE-2026-101909 on OSV.dev (opens in a new tab)GHSA-x97p-jq2g-jp4fEPSS: top 73%
Axios: Prototype Pollution Gadget in axios toFormData Options
Fixed in 0.34.0. Published Sep 30, 2026.
WarningCVE-2026-42042 on OSV.dev (opens in a new tab)GHSA-xx6v-rp6x-q39cEPSS: top 77%
Axios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in `withXSRFToken` Boolean Coercion
Fixed in 0.31.1. Published May 5, 2026.
WarningCVE-2026-67319 on OSV.dev (opens in a new tab)GHSA-7q8q-rj6j-mhjqEPSS: top 77%
Axios: Nested axios option objects can consume polluted prototype values
Fixed in 0.33.0. Published Jul 20, 2026.
LowCVE-2026-42040 on OSV.dev (opens in a new tab)GHSA-xhjh-pmcv-23jwEPSS: top 83%
Axios: Null Byte Injection via Reverse-Encoding in AxiosURLSearchParams
Fixed in 0.31.1. Published May 5, 2026.
Who is still on a vulnerable axios
62% of last week’s 119.1M axios downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is axios the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly axios 0.28.1, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.