npm package

axios 1.18.1 vulnerabilities, and the version that fixes all of them

axios 1.18.1 has 12 known vulnerabilities (7 rated high or critical); 1.20.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
12
7 rated high or critical
Released
Jun 22, 2026
Latest is 1.20.0
Downloads last week
10.5M
9% of axios downloads
Licence
MIT
OpenSSF Scorecard
7.7/10
axios/axios (opens in a new tab)
Pulls in
29 packages
Resolved by deps.dev

What to upgrade to

1.20.0 is the closest release with no known vulnerabilities.

  • 1.20.0Upgrade to this

    Fixes all 12 known vulnerabilities and the newest 1.x release and the latest release. Released Aug 26, 2026.

    No known vulnerabilities

1.20.0 came out on Aug 26, 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

Every advisory for axios 1.18.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.

  1. WarningCVE-2026-101900 on OSV.dev (opens in a new tab)GHSA-4hqw-qxg8-jxx2EPSS: top 56%

    Axios: Fetch Adapter Header Injection via Inherited FormData getHeaders

    Fixed in 1.20.0. Published Sep 30, 2026.

  2. CriticalCVE-2026-101898 on OSV.dev (opens in a new tab)GHSA-3pq3-5fj3-cg6vEPSS: top 57%

    Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controls

    Fixed in 1.20.0. Published Sep 30, 2026.

  3. WarningCVE-2026-101899 on OSV.dev (opens in a new tab)GHSA-44g4-m2mj-wpvxEPSS: top 57%

    Axios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP ranges

    Fixed in 1.20.0. Published Sep 30, 2026.

  4. WarningCVE-2026-101904 on OSV.dev (opens in a new tab)GHSA-j8rh-479h-cp32EPSS: top 65%

    Axios: Header Injection via Inherited headers After Minimal Interceptor

    Fixed in 1.20.0. Published Sep 30, 2026.

  5. CriticalCVE-2026-101907 on OSV.dev (opens in a new tab)GHSA-r4gj-5m52-g5whEPSS: top 66%

    Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF

    Fixed in 1.20.0. Published Sep 30, 2026.

  6. WarningCVE-2026-101908 on OSV.dev (opens in a new tab)GHSA-vh66-26gq-q6x8EPSS: top 66%

    Axios: Prototype pollution gadget in fetch adapter can alter outbound requests

    Fixed in 1.20.0. Published Sep 30, 2026.

  7. 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 1.20.0. Published Sep 30, 2026.

  8. CriticalCVE-2026-101906 on OSV.dev (opens in a new tab)GHSA-mghh-pgcx-3jjjEPSS: top 68%

    Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location

    Fixed in 1.20.0. Published Sep 30, 2026.

  9. CriticalCVE-2026-101901 on OSV.dev (opens in a new tab)GHSA-542g-h47m-68v8EPSS: top 70%

    Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization

    Fixed in 1.20.0. Published Sep 30, 2026.

  10. CriticalCVE-2026-101903 on OSV.dev (opens in a new tab)GHSA-c29m-xwm3-cm6rEPSS: top 70%

    Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)

    Fixed in 1.20.0. Published Sep 30, 2026.

  11. 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 1.20.0. Published Sep 30, 2026.

  12. CriticalCVE-2026-101905 on OSV.dev (opens in a new tab)GHSA-m8m8-qj5v-23w3EPSS: top 80%

    Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection

    Fixed in 1.20.0. Published Sep 30, 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.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly axios 1.18.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.