axios
Promise based HTTP client for the browser and node.js
2 versions of axios were published with malicious code. The latest version, 1.20.0, is not one of them.
- Malicious versions on record
- 1.20.0 latest, 2026-08-26
- 115.0M weekly downloads
- 25/28 recent releases with provenance
Check your version
Enter the exact version from your lockfile.
Major incidents
CuratedWritten by Kovo from github.com/axios, microsoft.com, Maintainer post-mortem, Microsoft Threat Intelligence. Everything else on this page is generated from registry and advisory data.
Maintainer account hijacked; two backdoored releases
An attacker with the lead maintainer's npm credentials published 1.14.1 and 0.30.4 from the npm CLI, outside the usual trusted-publishing pipeline and without provenance. Each added plain-crypto-js, whose postinstall script dropped a remote access trojan; npm removed both after about three hours.
Affected 1.14.1, 0.30.4
Sources
- 2026-04-01Post Mortem: axios npm supply chain compromisegithub.com/axios
- 2026-04-01Mitigating the Axios npm supply chain compromisemicrosoft.com
Security checks
Last two years: 1 malicious, 22 high, 26 moderate, 2 low. 140 stable releases since 2014, 2.0 MB unpacked, license MIT.
- No known advisories affect the latest version, 1.20.0Checked against 56 advisories in OSV.
- 2 versions were published with malicious code0.30.41.14.1 Reported by OpenSSF malicious-packages via OSV.
- None of its advisories are on CISA's Known Exploited listChecked against the CISA KEV catalog.
- 25 of the last 28 releases have build provenanceA Sigstore attestation links each attested tarball to a public CI build.
- No install scripts in the latest version4 runtime dependencies in 1.20.0.
- 2 accounts have published the last 30 releasesGitHub Actionsjasonsaayman
- 5 of the last 30 releases break the publishing pattern1.16.1 new dependency in a patch release 0.30.4 reported malicious 1.14.1 reported malicious
Release lines
A line counts as active if it had a release in the last 180 days.
| Line | Latest | Last release | Status |
|---|---|---|---|
| 1.x | 1.20.0 | 2026-08-26 | Active |
| 0.x | 0.34.0 | 2026-09-16 | Active |
How long the code was vulnerable before disclosure
Each bar starts at the publish date of the first affected version and ends at disclosure. Critical, high and malicious advisories from the last two years.
Median time from the first affected release to disclosure: 2.6 years.
Every advisory against recent versions
Which release lines are clean, computed from each advisory's affected ranges.
| Version | 25-09-11 | 26-02-09 | 26-04-09 | 26-04-10 | 26-05-05 ×13 | 26-05-29 ×5 | 26-06-04 ×4 | 26-07-20 ×10 | 26-09-30 ×12 | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | No known advisories | |
| Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | High | 12 advisories | |
| Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | High | 12 advisories | |
| Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | High | High | 22 advisories | |
| Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | High | High | 21 advisories | |
| Not affected | Not affected | Not affected | Not affected | Not affected | High | High | High | High | 28 advisories | |
| Not affected | Not affected | Moderate | Moderate | High | High | High | Moderate | High | 34 advisories | |
| Not affected | Not affected | Moderate | Moderate | High | High | High | Moderate | High | 34 advisories | |
| Not affected | High | Moderate | Moderate | High | High | High | Moderate | Moderate | 32 advisories | |
| High | High | Moderate | Moderate | High | High | High | Moderate | Moderate | 32 advisories | |
| Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | Not affected | No known advisories |
Columns are disclosure days in the last two years; ×N means N advisories that day. Rows are the newest release of the ten newest minor lines, then of each older major line.
Hover, focus or select a version to list the advisories that affect it.
How the last 30 releases were published
Each release compared with the previous one on its major line. Flags are rule-based: provenance dropped, install script added, new dependency in a patch release, size more than doubled, unfamiliar publisher, unpublished, reported malicious.
| Version | Published | Published by | Provenance | Deps | Size | Flags |
|---|---|---|---|---|---|---|
| 0.34.0 | 2026-09-16 | GitHub Actions (trusted publishing) | Yes | 3 | 1.1 MB +7% | None |
| 1.20.0 | 2026-08-26 | GitHub Actions (trusted publishing) | Yes | 4 | 2.0 MB +6% | None |
| 1.19.0 | 2026-07-29 | GitHub Actions (trusted publishing) | Yes | 4 | 1.9 MB +5% | None |
| 1.18.1 | 2026-06-22 | GitHub Actions (trusted publishing) | Yes | 4 | 1.8 MB +2% | None |
| 1.18.0 | 2026-06-14 | GitHub Actions (trusted publishing) | Yes | 4 | 1.7 MB +6% | None |
| 0.33.0 | 2026-06-14 | GitHub Actions (trusted publishing) | Yes | 3 | 991 KB +3% | None |
| 1.17.0 | 2026-06-03 | GitHub Actions (trusted publishing) | Yes | 4 | 1.7 MB -41% | None |
| 1.16.1 | 2026-05-13 | GitHub Actions (trusted publishing) | Yes | 4 +1 | 2.8 MB +2% | |
Added: https-proxy-agent | ||||||
| 0.32.0 | 2026-05-04 | GitHub Actions (trusted publishing) | Yes | 3 | 964 KB +6% | None |
| 1.16.0 | 2026-05-02 | GitHub Actions (trusted publishing) | Yes | 3 | 2.8 MB +9% | None |
| 1.15.2 | 2026-04-21 | GitHub Actions (trusted publishing) | Yes | 3 | 2.5 MB +1% | None |
| 0.31.1 | 2026-04-19 | GitHub Actions (trusted publishing) | Yes | 3 | 912 KB +3% | None |
| 1.15.1 | 2026-04-19 | GitHub Actions (trusted publishing) | Yes | 3 | 2.5 MB +2% | None |
| 0.31.0 | 2026-04-12 | GitHub Actions (trusted publishing) | Yes | 3 | 887 KB +1% | None |
| 1.15.0 | 2026-04-08 | GitHub Actions (trusted publishing) | Yes | 3 | 2.4 MB +2% | None |
| 2026-03-31 | No longer on the registry | |||||
The registry no longer serves this version, so its publisher and contents cannot be inspected. | ||||||
| 2026-03-31 | No longer on the registry | |||||
The registry no longer serves this version, so its publisher and contents cannot be inspected. | ||||||
| 1.14.0 | 2026-03-27 | GitHub Actions (trusted publishing) | Yes | 3 | 2.4 MB -1% | None |
| 1.13.6 | 2026-02-27 | GitHub Actions (trusted publishing) | Yes | 3 | 2.4 MB +4% | None |
| 0.30.3 | 2026-02-18 | jasonsaayman | No | 3 | 875 KB | None |
| 1.13.5 | 2026-02-08 | GitHub Actions (trusted publishing) | Yes | 3 | 2.3 MB | None |
| 1.13.4 | 2026-01-27 | GitHub Actions (trusted publishing) | Yes | 3 | 2.3 MB | |
No dependency changes against the previous release on this major line. | ||||||
| 1.13.3 | 2026-01-25 | jasonsaayman | No | 3 | 2.3 MB +2% | |
No dependency changes against the previous release on this major line. | ||||||
| 1.13.2 | 2025-11-04 | jasonsaayman | Yes | 3 | 2.3 MB | None |
| 1.13.1 | 2025-10-28 | jasonsaayman | Yes | 3 | 2.3 MB | None |
| 1.13.0 | 2025-10-27 | jasonsaayman | Yes | 3 | 2.3 MB +2% | None |
| 0.30.2 | 2025-09-27 | jasonsaayman | No | 3 | 872 KB | None |
| 1.12.2 | 2025-09-14 | jasonsaayman | Yes | 3 | 2.2 MB | None |
| 1.12.1 | 2025-09-12 | jasonsaayman | Yes | 3 | 2.2 MB | None |
| 1.12.0 | 2025-09-11 | jasonsaayman | Yes | 3 | 2.2 MB | None |
Advisories
56 records from OSV: GitHub advisories and OpenSSF malicious-package reports. Summaries are quoted from the advisory records.
- Axios: Prototype Pollution Gadget in axios toFormData OptionsCVE-2026-101909GHSA-x97p-jq2g-jp4fAffected
≥ 0.28.0, < 0.34.0 · ≥ 1.15.1, < 1.20.0Fixed in0.34.0, 1.20.0 - Axios: Prototype pollution gadget in fetch adapter can alter outbound requestsCVE-2026-101908GHSA-vh66-26gq-q6x8Affected
≥ 1.7.0, < 1.20.0Fixed in1.20.0 - Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRFCVE-2026-101907GHSA-r4gj-5m52-g5whAffected
≥ 1.17.0, < 1.20.0Fixed in1.20.0 - Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect LocationCVE-2026-101906GHSA-mghh-pgcx-3jjjAffected
≥ 1.15.0, < 1.20.0Fixed in1.20.0 - Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnectionCVE-2026-101905GHSA-m8m8-qj5v-23w3Affected
≥ 1.15.2, < 1.20.0Fixed in1.20.0 - Axios: Header Injection via Inherited headers After Minimal InterceptorCVE-2026-101904GHSA-j8rh-479h-cp32Affected
≥ 1.0.0, < 1.20.0Fixed in1.20.0 - Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)CVE-2026-101903GHSA-c29m-xwm3-cm6rAffected
≥ 1.16.1, < 1.20.0Fixed in1.20.0 - Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP MethodCVE-2026-101902GHSA-9fr6-4gfg-395gAffected
≥ 0.27.2, < 0.34.0 · ≥ 1.0.0, < 1.20.0Fixed in0.34.0, 1.20.0 - Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session InitializationCVE-2026-101901GHSA-542g-h47m-68v8Affected
≥ 1.13.0, < 1.20.0Fixed in1.20.0 - Axios: Fetch Adapter Header Injection via Inherited FormData getHeadersCVE-2026-101900GHSA-4hqw-qxg8-jxx2Affected
≥ 1.12.0, < 1.20.0Fixed in1.20.0 - Axios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP rangesCVE-2026-101899GHSA-44g4-m2mj-wpvxAffected
≥ 1.15.0, < 1.20.0Fixed in1.20.0 - Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controlsCVE-2026-101898GHSA-3pq3-5fj3-cg6vAffected
≥ 1.13.0, < 1.20.0Fixed in1.20.0