Skip to main content

Axios CVE-2026-42033

| EUVDEUVD-2026-25588 HIGH
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-04-24 GitHub_M GHSA-pf86-5x62-jrwf
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Pollute Object.prototype via separate vulnerability
  2. Delivery
    Inject malicious keys targeting Axios internals
  3. Exploit
    Application makes Axios HTTP request
  4. Execution
    Axios reads polluted properties without hasOwnProperty check
  5. Persist
    Attacker intercepts/modifies response or hijacks transport
  6. Impact
    Exfiltrate credentials and sensitive data

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Successful exploitation requires Object.prototype to have been polluted by a separate vulnerability or malicious code in the same JavaScript runtime process. This precondition typically arises from vulnerable npm dependencies with prototype pollution flaws (such as unpatched versions of lodash, merge-deep, or similar utility libraries) or malicious packages in the supply chain. The attacker must also know or guess which specific prototype keys Axios reads without hasOwnProperty guards - these are internal implementation details but discoverable through source code analysis. Crucially, this is NOT a standalone remote code execution vulnerability; it requires the chained condition of existing prototype pollution. However, once that precondition exists, remote unauthenticated attackers can trigger Axios requests that consume the polluted properties (AC:H reflects this dependency). The vulnerability affects both server-side Node.js applications and client-side browser JavaScript if the browser environment has been polluted. Default Axios configurations are vulnerable - no non-default settings are required. The CVSS scope is unchanged (S:U), meaning exploitation is confined to the security context of the vulnerable Axios instance, but within that context, confidentiality and integrity impacts are high.

Impact

Real-world risk assessment requires weighing multiple factors that create a nuanced threat profile. The CVSS base score of 7.4 (High) reflects significant potential impact with high confidentiality and integrity compromise but the AC:H (high complexity) constraint is critical. The attack complexity is high because exploitation requires a separate prototype pollution vulnerability to exist in the same Node.js process - Axios itself does not introduce the pollution, it merely fails to defend against it. This makes it a second-order vulnerability dependent on supply chain risk from other npm packages. The network vector (AV:N) with no authentication (PR:N) means once the precondition exists, remote attackers can exploit it without credentials, which is severe. However, the lack of EPSS data and absence of CISA KEV listing suggests this is not yet widely exploited in practice, likely because the chained nature (pollution + Axios) creates friction for mass exploitation. For organizations using Axios alongside dependencies with known prototype pollution issues (common in the npm ecosystem), this represents urgent risk. For those with robust dependency scanning and no identified pollution vectors, priority may be lower. The inability to detect when interception occurs (silent modification of responses) makes this particularly dangerous for applications handling sensitive data through Axios requests. Patch availability in versions 1.15.1 and 0.31.1 makes this fully remediable, elevating the priority for environments where the precondition might exist.

Exploit ScenarioDerived

An attacker identifies a Node.js application using vulnerable Axios alongside a dependency with a prototype pollution vulnerability, such as an outdated version of lodash's merge function. The attacker exploits the separate pollution issue to inject malicious properties into Object.prototype, specifically targeting keys that Axios reads during request/response processing, such as transport adapter configuration or response transformation functions. Once the prototype is polluted, all subsequent Axios requests in the application silently use the attacker-controlled properties. The attacker can now intercept every API response, modify JSON payloads to inject malicious data (such as changing account balances or authorization tokens), or completely hijack the HTTP transport to exfiltrate authentication headers and request bodies to an attacker-controlled server. No public exploit identified at time of analysis, but the attack pattern is well-understood in the npm security community.

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 HTTP client versions before 1.15.1 and 0.31.1 enables silent interception and modification of all JSON responses or complete HTTP transport hijacking when the JavaScript Object.prototype has been polluted by a co-dependency. This vulnerability requires a separate prototype pollution source within the same Node.js process but requires no authentication once that precondition exists. An attacker can then access credentials, headers, and request bodies across the application. EPSS data not available; no public exploit identified at time of analysis.

RemediationAI

Upgrade Axios to version 1.15.1 or later for 1.x users, or version 0.31.1 or later for 0.x users, as documented in GitHub security advisory GHSA-pf86-5x62-jrwf at https://github.com/axios/axios/security/advisories/GHSA-pf86-5x62-jrwf. These patched versions implement hasOwnProperty guards to prevent reading polluted prototype properties. If immediate upgrade is not feasible, implement defense-in-depth measures: audit all npm dependencies for known prototype pollution vulnerabilities using tools like npm audit or Snyk, freeze Object.prototype using Object.freeze(Object.prototype) at application startup (note this may break legacy code expecting prototype mutability), and implement runtime monitoring for unexpected properties on Object.prototype. For high-risk applications, consider replacing Axios temporarily with alternative HTTP clients that demonstrate prototype pollution resistance, though this carries significant refactoring cost. All compensating controls are partial mitigations only - upgrading to patched versions is the definitive fix.

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 library for Node.js and browser environments, commonly deployed in modern JavaScript applications for API communication. This vulnerability stems from CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes), specifically the absence of hasOwnProperty guards when Axios reads configuration properties from objects. In JavaScript, prototype pollution occurs when an attacker can inject properties into Object.prototype, causing all objects in the application to inherit malicious properties. Axios reads certain configuration keys without verifying they are own properties rather than inherited ones. When a separate vulnerability or malicious dependency pollutes Object.prototype with keys that Axios consumes (such as transport configuration or response transformation hooks), the attacker gains control over Axios's internal behavior. The CVSS vector indicates network attack vector (AV:N) but high complexity (AC:H), reflecting that the attack requires the precondition of existing prototype pollution from another source in the same JavaScript runtime.

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

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 7.4 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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 - 20:02 nvd
Patch available
Patch available
Apr 24, 2026 - 19:01 EUVD
CVE Published
Apr 24, 2026 - 17:36 nvd
HIGH 7.4

DescriptionCVE.org

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, when Object.prototype has been polluted by any co-dependency with keys that axios reads without a hasOwnProperty guard, an attacker can (a) silently intercept and modify every JSON response before the application sees it, or (b) fully hijack the underlying HTTP transport, gaining access to request credentials, headers, and body. The precondition is prototype pollution from a separate source in the same process. 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 HTTP client versions before 1.15.1 and 0.31.1 contain a prototype pollution vulnerability that allows attackers to intercept and modify all JSON responses or hijack HTTP transport when JavaScript Object.prototype has been polluted by a co-dependency in the same Node.js process. This creates a critical supply chain risk, enabling credential theft and request manipulation across applications without requiring direct authentication.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement Object.freeze(Object.prototype) as a temporary runtime protection in Node.js application startup (with testing for compatibility); (2) Audit and remove co-dependencies known to introduce prototype pollution; (3) Implement HTTP response validation and integrity checks at application logic layer; (4) Isolate affected applications into separate Node.js processes to limit pollution scope; (5) Monitor for unexpected Object.prototype mutations via runtime instrumentation. Note: These mitigations are incomplete-patch deployment remains essential.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
8 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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-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

CVE-2023-45857 MEDIUM POC
6.5 Nov 08

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it i

Vendor StatusVendor

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-42033 ADVISORY https://vuldb.com/vuln/359505 ADVISORY https://www.herodevs.com/vulnerability-directory/cve-2026-42033 REF https://access.redhat.com/errata/RHSA-2026:14937 REF https://access.redhat.com/errata/RHSA-2026:16476 REF https://access.redhat.com/errata/RHSA-2026:16532 REF https://access.redhat.com/errata/RHSA-2026:16534 REF https://access.redhat.com/errata/RHSA-2026:16535 REF https://access.redhat.com/errata/RHSA-2026:16542 REF https://access.redhat.com/errata/RHSA-2026:16874 REF https://access.redhat.com/errata/RHSA-2026:17468 REF https://access.redhat.com/errata/RHSA-2026:17474 REF https://access.redhat.com/errata/RHSA-2026:17657 REF https://access.redhat.com/errata/RHSA-2026:17699 REF https://access.redhat.com/errata/RHSA-2026:19109 REF https://access.redhat.com/errata/RHSA-2026:19375 REF https://access.redhat.com/errata/RHSA-2026:20889 REF https://access.redhat.com/errata/RHSA-2026:20938 REF https://access.redhat.com/errata/RHSA-2026:21017 REF https://access.redhat.com/errata/RHSA-2026:21338 REF https://access.redhat.com/errata/RHSA-2026:21772 REF https://access.redhat.com/errata/RHSA-2026:22465 REF https://access.redhat.com/errata/RHSA-2026:22619 REF https://access.redhat.com/errata/RHSA-2026:22629 REF https://access.redhat.com/errata/RHSA-2026:22840 REF https://access.redhat.com/errata/RHSA-2026:23361 REF https://access.redhat.com/errata/RHSA-2026:24536 REF https://access.redhat.com/errata/RHSA-2026:24539 REF https://access.redhat.com/errata/RHSA-2026:24853 REF https://access.redhat.com/errata/RHSA-2026:24977 REF https://access.redhat.com/errata/RHSA-2026:25041 REF https://access.redhat.com/errata/RHSA-2026:25089 REF https://access.redhat.com/errata/RHSA-2026:25271 REF https://access.redhat.com/errata/RHSA-2026:25273 REF https://access.redhat.com/errata/RHSA-2026:26214 REF https://access.redhat.com/errata/RHSA-2026:26225 REF https://access.redhat.com/errata/RHSA-2026:26232 REF https://access.redhat.com/errata/RHSA-2026:26234 REF https://access.redhat.com/errata/RHSA-2026:33574 REF https://access.redhat.com/errata/RHSA-2026:36882 REF https://access.redhat.com/errata/RHSA-2026:48670 REF https://access.redhat.com/security/cve/CVE-2026-42033 REF https://bugzilla.redhat.com/show_bug.cgi?id=2461607 REF https://github.com/axios/axios/security/advisories/GHSA-pf86-5x62-jrwf REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42033.json

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