Skip to main content

Axios EUVDEUVD-2026-25589

| CVE-2026-42035 HIGH
HTTP Response Splitting (CWE-113)
2026-04-24 GitHub_M GHSA-6chq-wfr3-2hj9
7.4
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify prototype pollution primitive in dependencies
  2. Delivery
    Inject pollution payload via vulnerable endpoint
  3. Exploit
    Application processes polluted object
  4. Install
    Axios adapter performs duck-type check
  5. C2
    Malicious getHeaders() executes
  6. Execute
    Arbitrary headers injected into outbound request
  7. Impact
    Session hijacking or cache poisoning achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP response header sanitization
Exploitation Conditions

Two prerequisites must be satisfied: (1) Object.prototype pollution primitive must exist somewhere in the application's dependency tree-this can originate from any vulnerable library (lodash merge/defaultsDeep misuse, jQuery extend, etc.), not necessarily Axios itself; (2) Application must use the Node.js HTTP adapter in lib/adapters/http.js to make requests with plain object payloads (browser usage via XMLHttpRequest/fetch adapters is not vulnerable). The pollution must specifically include getHeaders (function), append, pipe, on, once (arbitrary truthy values), and Symbol.toStringTag (set to 'FormData'). Attack complexity is HIGH (CVSS AC:H) because the attacker must first discover and exploit the separate prototype pollution vulnerability. No authentication or user interaction required once prerequisites are met (PR:N/UI:N). Exploitation limited to Node.js server-side environments; browser-based Axios usage unaffected.

Impact

CVSS 7.4 (High) reflects network attack vector with high attack complexity (AV:N/AC:H/PR:N/UI:N), high confidentiality and integrity impact, but no availability impact. The AC:H rating indicates the attacker must first achieve prototype pollution through another vulnerability-this is a second-order exploitation requiring a pollution primitive elsewhere in the codebase. Real-world risk depends heavily on application context: applications with known prototype pollution vulnerabilities in dependencies (common in Node.js ecosystems) face immediate risk, while hardened applications with prototype pollution mitigations have lower exposure. The PR:N (no privileges required) and UI:N (no user interaction) components indicate exploitation can be fully automated once the prerequisite pollution exists. No EPSS score provided limits quantitative exploitation probability assessment. CISA KEV status is negative, suggesting no widespread active exploitation detected. However, GitHub security advisory confirms exploit details are public, enabling targeted attacks. SSVC framework assessment: Exploitation=POC (public code available), Automatable=Yes (given pollution prerequisite), Technical Impact=Partial (header injection enables multiple attack vectors). Priority should be HIGH for Node.js applications with complex dependency trees, MEDIUM for applications with prototype pollution hardening.

Exploit ScenarioDerived

An attacker identifies a Node.js web application using Axios 1.14.0 that also has a prototype pollution vulnerability in a dependency like lodash 4.17.20. The attacker sends a crafted JSON payload (e.g., {"__proto__": {"getHeaders": "<malicious function>", "append": true, "pipe": true, "on": true, "once": true, "[Symbol.toStringTag]": "FormData"}}) to pollute Object.prototype. When the application subsequently uses Axios to make an outbound API request with a plain object payload, Axios misidentifies the payload as FormData, executes the attacker's getHeaders() function, and injects attacker-controlled headers (e.g., "Authorization: Bearer stolen_token") into the HTTP request. This enables session hijacking, privilege escalation, or cache poisoning depending on the target API's header processing.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 24, 2026

Prototype pollution in Axios 1.x (prior to 1.15.1) and 0.x (prior to 0.31.1) enables HTTP header injection attacks when any dependency in the application pollutes Object.prototype with specific properties (getHeaders, append, pipe, on, once, Symbol.toStringTag). Attackers exploit the HTTP adapter's duck-type checking to inject arbitrary headers into outbound HTTP requests, potentially leading to authentication bypass, session hijacking, or cache poisoning. EPSS data unavailable; no confirmed active exploitation (CISA KEV) at time of analysis. Publicly available exploit code exists per vendor advisory GHSA-6chq-wfr3-2hj9.

RemediationAI

Upgrade to Axios 1.15.1 or later for 1.x users, or 0.31.1 or later for 0.x users. Vendor-released patches available via npm (npm update axios) or yarn (yarn upgrade axios). Consult vendor advisory at https://github.com/axios/axios/security/advisories/GHSA-6chq-wfr3-2hj9 for migration guidance. If immediate upgrade is not feasible, implement defense-in-depth prototype pollution protections: freeze Object.prototype using Object.freeze(Object.prototype) at application bootstrap (side effect: breaks libraries relying on prototype extension), use --frozen-intrinsics flag in Node.js 20+ (performance overhead ~5-10%), or implement Content-Security-Policy headers and input validation to block known pollution vectors (reduces but does not eliminate risk). Additionally, audit dependency tree for known prototype pollution vulnerabilities using npm audit or Snyk, and prioritize remediation of pollution primitives that serve as prerequisites for this gadget. Note that mitigating pollution sources eliminates the attack prerequisite but does not fix the Axios gadget itself.

Affected VersionsENISA

axios < 0.31.1
axios 1.0.0, < 1.15.1

Affected Packages

npm axios fix: 0.31.1, 1.15.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Axios is a widely-used promise-based HTTP client for browser and Node.js environments. This vulnerability (CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers) resides in lib/adapters/http.js, which handles Node.js HTTP/HTTPS requests. The code performs duck-type checking to identify FormData payloads by testing for specific methods and properties. When Object.prototype is polluted with getHeaders (function), append, pipe, on, once (functions), and Symbol.toStringTag (value), Axios misidentifies plain JavaScript objects as FormData instances. The vulnerable adapter then calls the attacker-controlled getHeaders() function and merges returned values into the outgoing request's headers object. This is a gadget vulnerability-the prototype pollution primitive can originate from any library in the dependency chain (lodash, jQuery, etc.), not Axios itself. The attack surface includes any Node.js application using vulnerable Axios versions where prototype pollution exists anywhere in the dependency tree.

Know when Axios gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 7.4 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Patch released
Apr 27, 2026 - 19:58 nvd
Patch available
Patch available
Apr 24, 2026 - 19:01 EUVD
CVE Published
Apr 24, 2026 - 17:38 nvd
HIGH 7.4

DescriptionGitHub Advisory

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, a prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the attacker-controlled getHeaders() function, merging the returned headers into the outgoing request. The vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need to originate from Axios itself - any prototype pollution primitive in any dependency in the application's dependency tree is sufficient to trigger this gadget. This vulnerability is fixed in 1.15.1 and 0.31.1.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 273 npm packages depend on axios (189 direct, 84 indirect)

Ecosystem-wide dependent count for version 1.0.0.

Executive ViewAI

Why It Matters

Axios versions 0.x and 1.x are vulnerable to prototype pollution enabling HTTP header injection, which could allow attackers to bypass authentication or hijack sessions by manipulating outbound requests from affected applications. Organizations using vulnerable Axios versions face risk of unauthorized access to backend systems and data interception, particularly if their dependencies include libraries that pollute Object.prototype.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Audit and remove any dependencies that pollute Object.prototype properties (getHeaders, append, pipe, on, once, Symbol.toStringTag); (2) implement strict input validation and sanitization on all external data sources; (3) use Object.freeze(Object.prototype) to prevent prototype pollution if architecturally feasible; (4) enforce network segmentation to limit blast radius of compromised credentials; (5) implement enhanced monitoring for anomalous HTTP headers in outbound requests.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Axios

View all
CVE-2026-42043 CRITICAL POC
10.0 Apr 24

NO_PROXY protection bypass in Axios HTTP client (versions 1.0.0-1.15.0 and ≤0.31.0) lets an attacker who controls a requ

CVE-2026-42044 CRITICAL POC
9.1 Apr 24

JSON response tampering in the Axios HTTP client (versions 1.0.0 up to but not including 1.15.2) lets an attacker who ca

CVE-2026-67320 HIGH POC
8.3 Aug 01

Prototype pollution via the Node.js HTTP adapter in axios allows an attacker who controls `Object.prototype.proxy` to si

CVE-2025-27152 HIGH POC
7.7 Mar 07

axios is a promise based HTTP client for the browser and node.js. Rated high severity (CVSS 7.7), this vulnerability is

CVE-2025-58754 HIGH POC
7.5 Sep 12

Axios is a promise based HTTP client for the browser and Node.js. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2026-25639 HIGH POC
7.5 Feb 09

Axios versions up to 0.30.3 is affected by improper check for unusual or exceptional conditions (CVSS 7.5).

CVE-2024-39338 HIGH POC
7.5 Aug 12

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative

CVE-2021-3749 HIGH POC
7.5 Aug 31

axios is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2019-10742 HIGH POC
7.5 May 07

Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to acce

CVE-2026-42033 HIGH POC
7.4 Apr 24

Prototype pollution in Axios HTTP client versions before 1.15.1 and 0.31.1 enables silent interception and modification

CVE-2026-42039 MEDIUM POC
6.9 Apr 24

Denial of service in Axios HTTP client before versions 1.15.1 and 0.31.1 allows remote unauthenticated attackers to cras

CVE-2026-42041 MEDIUM POC
6.5 Apr 24

Prototype pollution in Axios library versions prior to 1.15.1 and 0.31.1 allows remote attackers to suppress HTTP error

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy