CVE-2026-42264

Axios: Prototype pollution read-side gadgets in HTTP adapter allow credential injection and request hijacking

Published May 8, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
Axios is a promise based HTTP client for the browser and Node.js. From version 1.0.0 to before version 1.15.2, fFive config properties (auth, baseURL, socketPath, beforeRedirect, and insecureHTTPParser) in the HTTP adapter are read via direct property access without hasOwnProperty guards, making them exploitable as prototype pollution gadgets. When Object.prototype is polluted by another dependency in the same process, axios silently picks up these polluted values on every outbound HTTP request. This issue has been patched in version 1.15.2.

Analysis

AI-generated

Technical impact

Axios versions from 1.0.0 up to 1.15.1 allow certain configuration properties in the HTTP adapter to be read without ownership checks. In the presence of a polluted Object.prototype, these values can be overridden, enabling an attacker to inject credentials or hijack outgoing requests. This prototype pollution weakness (CWE-1321) and the associated insecure resource manipulation (CWE-915) can compromise the confidentiality and integrity of requests.

Affected Systems

The affected vendor is Axios. Products are the axios HTTP client library, versions 1.0.0 through 1.15.1. The patch was released in version 1.15.2.

Risk and Exploitability

The CVSS score of 7.4 indicates a high severity vulnerability. The EPSS score is <1%, indicating a low but nonzero probability of exploitation; it is not listed in the CISA KEV catalog. The likely attack vector requires that an attacker can influence the dependency chain or inject code into the same process that modifies Object.prototype, after which contaminated values will be reused by Axios on every outbound request.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Axios to version 1.15.2 or later to apply the vendor patch
  • Ensure that no dependency or external library modifies Object.prototype during runtime
  • Audit and restrict runtime dependencies to prevent accidental prototype pollution

Generated by OpenCVE AI on August 14, 2026 at 03:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q8qp-cvcw-x6jj Axios has prototype pollution read-side gadgets in HTTP adapter that allow credential injection and request hijacking
Ubuntu USN Ubuntu USN USN-8638-1 Axios vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Axios
Axios axios
Vendors & Products Axios
Axios axios
Type Values Removed Values Added
Description Axios is a promise based HTTP client for the browser and Node.js. From version 1.0.0 to before version 1.15.2, fFive config properties (auth, baseURL, socketPath, beforeRedirect, and insecureHTTPParser) in the HTTP adapter are read via direct property access without hasOwnProperty guards, making them exploitable as prototype pollution gadgets. When Object.prototype is polluted by another dependency in the same process, axios silently picks up these polluted values on every outbound HTTP request. This issue has been patched in version 1.15.2.
Title Axios: Prototype pollution read-side gadgets in HTTP adapter allow credential injection and request hijacking
Weaknesses CWE-1321
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 11, 2026, 12:09 PM
Reserved
Apr 26, 2026, 11:53 AM
Status
Modified
Published
May 8, 2026, 4:16 AM
Modified
Nov 11, 2026, 11:10 PM