Skip to main content

axios CVE-2026-67314

| EUVDEUVD-2026-51864 MEDIUM
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-08-01 VulnCheck GHSA-38gx-cfqf-f652
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Exploit separate prototype-pollution primitive in host app
  2. Delivery
    Set Object.prototype.username and .password to attacker values
  3. Exploit
    Host app calls axios with partial or empty auth object
  4. Execution
    axios reads prototype-inherited credential values for missing fields
  5. Persist
    Outbound HTTP request carries attacker-injected Authorization: Basic header
  6. Impact
    Downstream service authenticates using attacker-chosen credentials

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

Exploitation requires two simultaneous conditions to be met. First, the host application must already be vulnerable to a separate prototype-pollution primitive that allows an attacker to set string values on Object.prototype - this could be a distinct CVE in a dependency, a merge/assign gadget over user-supplied JSON, or similar. Second, the affected axios call site must pass an auth object that is either empty or missing username or password as own properties, using a pattern such as auth: opts.auth || {} or auth: { username: userInput } where password is omitted. Requests that explicitly supply both auth.username and auth.password as own string properties are not affected, and requests with no own auth object after mergeConfig() are also unaffected. The CVSS 4.0 AT:P metric captures this compound requirement. Exploitation is further limited by the need for network access to the service receiving the tampered outbound request, and credential disclosure specifically requires that the tampered destination be observable by the attacker.

Impact

The official CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L) scores 6.3, and the AT:P (Attack Requirements: Present) metric accurately encodes the compound-exploitation requirement. Real-world risk is lower than the score might suggest for most environments: an attacker must first achieve successful prototype pollution of the running Node.js or browser process through a distinct vulnerability before this gadget becomes exploitable. Applications that sanitize user-controlled input through JSON.parse (which cannot create functions but can create string values) and subsequently pass partial auth objects through axios are the realistic at-risk population. No CISA KEV listing exists, no public proof-of-concept has been identified, and EPSS data was not provided in the input. The primary impact is outbound request tampering - an attacker can replace or inject a Basic auth header, potentially causing downstream authentication to succeed with wrong credentials or fail entirely. Credential exfiltration is a secondary risk requiring additional application-specific conditions (e.g., the tampered request is routed to an attacker-observable endpoint and a partial real credential is present). Overall, this is a real but chained, context-dependent issue rather than a standalone critical vulnerability.

Exploit ScenarioDerived

An attacker identifies a separate prototype-pollution vulnerability in a Node.js application - such as a merge or assign operation over unsanitized user input - and uses it to set Object.prototype.username and Object.prototype.password to attacker-chosen strings. When the application subsequently makes an axios request using a pattern like axios.get(url, { auth: opts.auth || {} }) where opts.auth is absent or partial, axios reads the polluted prototype values and constructs an Authorization: Basic header with the attacker's credentials, potentially bypassing or replacing the intended authentication on the downstream service call. No public proof-of-concept for this chained attack has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 01, 2026

Prototype-pollution read-side gadgets in axios versions >=1.15.2 and <1.18.0 allow an attacker who already controls a separate prototype-pollution primitive in the host application to inject attacker-chosen Basic auth credentials into outbound HTTP requests. When axios processes a request with an own auth object that omits the username or password properties, it falls through to read Object.prototype.username and Object.prototype.password, constructing a forged Authorization: Basic header. Exploiting this requires chaining with a pre-existing prototype pollution vulnerability - axios itself does not pollute prototypes - and no public exploit or CISA KEV listing exists at time of analysis. The vendor-released patch is axios 1.18.0.

RemediationAI

Upgrade axios to version 1.18.0 or later, which addresses the read-side gadget by ensuring auth subfield access is restricted to own properties. The upstream fix is available at commit 32fc489632377d214db55bfa4e2c48486a7d7ce2 (PR #11000) and is reflected in the 1.18.0 release. If immediate upgrade is not possible, a compensating control is to audit all axios call sites that pass a constructed or user-influenced auth object and ensure both username and password are always explicitly set as own properties before the call - for example, replacing auth: opts.auth || {} with auth: { username: opts.auth?.username ?? '', password: opts.auth?.password ?? '' }. A second compensating control is to eliminate the separate prototype pollution vectors in the host application, which would prevent the gadget from being reachable entirely; however, this approach is application-specific and may be difficult to verify completely. The vendor advisory is at https://github.com/axios/axios/security/advisories/GHSA-xj6q-8x83-jv6g.

Affected VersionsENISA

axios 1.15.2 <1.18.0

Affected Packages

npm axios fix: 1.18.0

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

CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) covers gadget-class vulnerabilities where code unintentionally reads from or writes to Object.prototype. This specific case is a read-side gadget: axios in lib/adapters/http.js (Node HTTP adapter) and lib/helpers/resolveConfig.js (browser/fetch/React Native shared resolver) accesses config.auth.username and config.auth.password without confirming these are own properties of the auth object. When the host process has already had Object.prototype polluted with username and password keys - via a separate, unrelated vulnerability such as a JSON-based deserialization gadget or a merge/assign flaw - axios's property access falls through the prototype chain and retrieves attacker-controlled values. A hardening introduced for a prior advisory (GHSA-q8qp-cvcw-x6jj) applied null-prototype protections to the top-level mergeConfig() output but left the nested auth subobject exposed. The affected CPE is cpe:2.3:a:axios:axios:*:*:*:*:*:*:*:* for versions >=1.15.2, <1.18.0.

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 (VulnCheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

AC:H reflects the mandatory pre-condition of a separate prototype-pollution primitive; no confidentiality impact in the base case; integrity and availability limited to header injection and downstream auth failures.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE 5.6 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Red Hat 8.9 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 01, 2026 - 13:01 EUVD
CVE Published
Aug 01, 2026 - 12:22 cve.org
MEDIUM 6.3

DescriptionCVE.org

axios versions >=1.15.2 and <1.18.0 contain prototype-pollution read-side gadgets in Basic auth subfield handling (lib/adapters/http.js and lib/helpers/resolveConfig.js). When an application is already affected by a separate prototype-pollution primitive and makes an axios request with an own auth object that omits the username and/or password properties, axios reads the inherited Object.prototype.username and Object.prototype.password values and uses them to construct an outbound 'Authorization: Basic ...' header. axios itself does not pollute prototypes. The practical impact is outbound request tampering: an attacker who controls the polluted prototype values can inject attacker-chosen Basic auth credentials or replace an existing Authorization header. Credential disclosure is only possible under additional application-specific conditions.

Blast Radius

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

Ecosystem-wide dependent count for version 1.15.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Ubiquitous
most-downloaded npm HTTP client, used across virtually all Node.js ecosystems
Data Quality
8 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Module for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Server for SAP applications 16.0 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
openSUSE Leap 16.0 Affected

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