Skip to main content
npm (Node.js)

axios Known Vulnerabilities & Fixes

axios has 51 known security vulnerabilities in npm (Node.js). Upgrade to version 1.20.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

51 Vulnerabilities

Low Immediate Risk

No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.

Recommended safe version: 1.20.0

Upgrading to 1.20.0 or later resolves all 51 known vulnerabilities in axios. Run: npm install axios@1.20.0

Is axios in your project?

Check if you're affected and upgrade to 1.20.0 to stay secure.

51
Total
0
Critical
24
High
26
Medium
1
Low

Security Summary

  • 82 affected version ranges have been identified across these 51 advisories.
  • 100% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for axios: 8.5%.
  • Remediation: npm update axios

Vulnerabilities

51 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Sep 1, 2021, most recently Sep 30, 2026 (1855 days apart).

CVE / GHSASeverity
CVE-2021-3749
axios Inefficient Regular Expression Complexity vulnerability
Affected
All versions
Fixed in
0.21.2
HIGH
CVE-2026-25639
Axios is Vulnerable to Denial of Service via __proto__ Key in mergeConfig
Affected
All versions
Fixed in
1.13.5, 0.30.3
HIGH
CVE-2026-40175
Axios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain
Affected
All versions
Fixed in
1.15.0, 0.31.0
MEDIUM
CVE-2025-58754
Axios is vulnerable to DoS attack through lack of data size check
Affected
All versions
Fixed in
1.12.0, 0.30.2
HIGH
CVE-2026-42033
Axios: Prototype Pollution Gadgets - Response Tampering, Data Exfiltration, and Request Hijacking
Affected
All versions
Fixed in
1.15.1, 0.31.1
HIGH
CVE-2026-42044
Axios: Invisible JSON Response Tampering via Prototype Pollution Gadget in `parseReviver`
Affected
All versions
Fixed in
1.15.2
MEDIUM
CVE-2025-62718
Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF
Affected
All versions
Fixed in
1.15.0, 0.31.0
MEDIUM
CVE-2026-42041
Axios: Authentication Bypass via Prototype Pollution Gadget in `validateStatus` Merge Strategy
Affected
All versions
Fixed in
1.15.1, 0.31.1
MEDIUM
CVE-2026-44495
axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge
Affected
All versions
Fixed in
1.15.2, 0.31.1
HIGH
CVE-2026-42039
Axios: unbounded recursion in toFormData causes DoS via deeply nested request data
Affected
All versions
Fixed in
1.15.1, 0.31.1
MEDIUM
CVE-2026-42264
Axios has prototype pollution read-side gadgets in HTTP adapter that allow credential injection and request hijacking
Affected
All versions
Fixed in
1.15.2
HIGH
CVE-2026-44496
Axios: Regular Expression Denial of Service (ReDoS) via Cookie Name Injection
Affected
All versions
Fixed in
1.16.0, 0.32.0
HIGH
CVE-2026-44494
axios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`
Affected
All versions
Fixed in
1.16.0
HIGH
CVE-2026-44488
Allocation of Resources Without Limits or Throttling in Axios
Affected
All versions
Fixed in
1.16.0
HIGH
CVE-2024-39338
Server-Side Request Forgery in axios
Affected
All versions
Fixed in
1.7.4
HIGH
CVE-2026-44492
axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)
Affected
All versions
Fixed in
1.16.0, 0.32.0
HIGH
CVE-2026-44486
Axios: Proxy-Authorization header leaks to redirect target when proxy is re-evaluated to direct connection
Affected
All versions
Fixed in
1.16.0, 0.32.0
HIGH
CVE-2026-44487
Axios: Proxy-Authorization Credential Leak to Origin Server Across HTTP-to-HTTPS Redirect in Axios Node.js HTTP Adapter
Affected
All versions
Fixed in
1.16.0, 0.32.0
HIGH
CVE-2025-27152
axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL
Affected
All versions
Fixed in
1.8.2, 0.30.0
HIGH
CVE-2023-45857
Axios Cross-Site Request Forgery Vulnerability
Affected
All versions
Fixed in
1.6.0, 0.28.0
MEDIUM
CVE-2026-101909
Axios: Prototype Pollution Gadget in axios toFormData Options
Affected
All versions
Fixed in
0.34.0, 1.20.0
HIGH
CVE-2026-67318
Axios: HTTP/2 streamed uploads bypass `maxBodyLength`
Affected
All versions
Fixed in
1.18.0
MEDIUM
CVE-2026-42043
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
Affected
All versions
Fixed in
1.15.1, 0.31.1
HIGH
CVE-2026-67317
Axios: Fetch adapter `ReadableStream` uploads bypass `maxBodyLength`
Affected
All versions
Fixed in
1.18.0
MEDIUM
CVE-2026-101904
Axios: Header Injection via Inherited headers After Minimal Interceptor
Affected
All versions
Fixed in
1.20.0
MEDIUM
CVE-2026-101900
Axios: Fetch Adapter Header Injection via Inherited FormData getHeaders
Affected
All versions
Fixed in
1.20.0
MEDIUM
CVE-2026-101907
Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF
Affected
All versions
Fixed in
1.20.0
HIGH
CVE-2026-101898
Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controls
Affected
All versions
Fixed in
1.20.0
HIGH
CVE-2026-101902
Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP Method
Affected
All versions
Fixed in
0.34.0, 1.20.0
MEDIUM
CVE-2026-101908
Axios: Prototype pollution gadget in fetch adapter can alter outbound requests
Affected
All versions
Fixed in
1.20.0
MEDIUM
CVE-2026-101906
Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location
Affected
All versions
Fixed in
1.20.0
HIGH
CVE-2026-101899
Axios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP ranges
Affected
All versions
Fixed in
1.20.0
MEDIUM
CVE-2026-67321
Axios form serializer maxDepth bypass via {} metatoken
Affected
All versions
Fixed in
0.33.0, 1.18.0
MEDIUM
CVE-2026-101901
Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization
Affected
All versions
Fixed in
1.20.0
HIGH
CVE-2026-101903
Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)
Affected
All versions
Fixed in
1.20.0
HIGH
CVE-2026-67320
Axios Node HTTP adapter can use an inherited proxy after interceptor config cloning
Affected
All versions
Fixed in
0.33.0, 1.18.0
HIGH
CVE-2026-67313
Axios: Excessive recursion in formDataToJSON can cause denial of service
Affected
All versions
Fixed in
0.33.0, 1.18.0
MEDIUM
CVE-2026-67312
Axios: Deep formToJSON Key Recursion Can Cause Denial of Service
Affected
All versions
Fixed in
0.33.0, 1.18.0
MEDIUM
CVE-2026-101905
Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection
Affected
All versions
Fixed in
1.20.0
HIGH
CVE-2026-42034
Axios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0
Affected
All versions
Fixed in
1.15.1, 0.31.1
MEDIUM
CVE-2026-42036
Axios: HTTP adapter streamed responses bypass maxContentLength
Affected
All versions
Fixed in
1.15.1, 0.31.1
MEDIUM
CVE-2026-67315
Axios: NO_PROXY bypass for 0.0.0.0 local addresses in axios
Affected
All versions
Fixed in
1.18.0, 0.33.0
MEDIUM
CVE-2026-42035
Axios: Header Injection via Prototype Pollution
Affected
All versions
Fixed in
1.15.1, 0.31.1
HIGH
CVE-2026-67316
Axios: Prototype pollution gadgets can alter axios request construction
Affected
All versions
Fixed in
1.18.0, 0.33.0
MEDIUM
CVE-2026-67314
Axios: Prototype pollution auth subfields can inject Basic auth
Affected
All versions
Fixed in
1.18.0
MEDIUM
CVE-2026-44490
axios has DoS & Header Injection via Prototype Pollution Read-Side Gadgets in axios merge functions
Affected
All versions
Fixed in
1.16.0, 0.32.0
MEDIUM
CVE-2026-42038
Axios: no_proxy bypass via IP alias allows SSRF
Affected
All versions
Fixed in
1.15.1, 0.31.1
MEDIUM
CVE-2026-42037
Axios: CRLF Injection in multipart/form-data body via unsanitized blob.type in formDataToStream
Affected
All versions
Fixed in
1.15.1
MEDIUM
CVE-2026-42042
Axios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in `withXSRFToken` Boolean Coercion
Affected
All versions
Fixed in
1.15.1, 0.31.1
MEDIUM
CVE-2026-67319
Axios: Nested axios option objects can consume polluted prototype values
Affected
All versions
Fixed in
0.33.0, 1.18.0
MEDIUM
CVE-2026-42040
Axios: Null Byte Injection via Reverse-Encoding in AxiosURLSearchParams
Affected
All versions
Fixed in
1.15.1, 0.31.1
LOW

About This Data

Vulnerability data for axios is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related npm (Node.js) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of axios.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed