Description
Axios is a promise-based HTTP client for the browser and Node.js. From 1.12.0 until 1.20.0, ResolveConfig reads inherited Symbol.toStringTag, append, and getHeaders properties while resolving FormData headers. A separate same-process prototype-pollution flaw supplies an array or non-plain class instance whose inherited properties make it appear FormData-like; plain objects are blocked. The inherited getHeaders function can return attacker-controlled headers that resolveConfig merges into a fetch adapter request. Attacker-controlled headers can alter authorization, cache, metadata-service, or application-specific request behavior. This issue is fixed in version 1.20.0.
Published: 2026-09-28
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized header manipulation leading to request tampering
Action: Immediate Patch
AI Analysis

Impact

Axios resolves FormData headers by reading inherited properties. An attacker can create an object that inherits a getHeaders method returning attacker‑controlled headers, which axios merges into the fetch adapter request. This lets the attacker alter authorization headers, cache directives, metadata‑service endpoints, or any other request metadata, potentially bypassing authentication or modifying API calls.

Affected Systems

The vulnerability affects the axios HTTP client for both browser and Node.js versions from 1.12.0 up to 1.20.0. The affected product is identified as axios:axios and the fix is available in version 1.20.0 and later.

Risk and Exploitability

The CVSS score of 6.9 classifies this flaw as moderate. The EPSS score of < 1% indicates a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack requires a local attacker with access to the JavaScript runtime to inject a prototype‑polluted object that axios interprets as FormData. Based on the description, it is inferred that the attack vector involves prototype‑pollution through inheritance of getHeaders, making exploitation unlikely in distant environments but capable of altering request behavior if an attacker controls the JavaScript context.

Generated by OpenCVE AI on September 30, 2026 at 06:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to axios v1.20.0 or later.
  • If an upgrade is not possible, enforce strict type checks to reject prototype‑polluted objects before they reach axios.
  • Isolate untrusted JavaScript code or apply CSP restrictions to mitigate prototype‑pollution risks.

Generated by OpenCVE AI on September 30, 2026 at 06:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4hqw-qxg8-jxx2 Axios: Fetch Adapter Header Injection via Inherited FormData getHeaders
History

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1287
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Mon, 28 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Axios
Axios axios
Vendors & Products Axios
Axios axios

Mon, 28 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 28 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Description Axios is a promise-based HTTP client for the browser and Node.js. From 1.12.0 until 1.20.0, ResolveConfig reads inherited Symbol.toStringTag, append, and getHeaders properties while resolving FormData headers. A separate same-process prototype-pollution flaw supplies an array or non-plain class instance whose inherited properties make it appear FormData-like; plain objects are blocked. The inherited getHeaders function can return attacker-controlled headers that resolveConfig merges into a fetch adapter request. Attacker-controlled headers can alter authorization, cache, metadata-service, or application-specific request behavior. This issue is fixed in version 1.20.0.
Title Axios: Fetch Adapter Header Injection via Inherited FormData getHeaders
Weaknesses CWE-1321
CWE-693
CWE-74
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-28T17:49:13.106Z

Reserved: 2026-09-28T15:55:37.906Z

Link: CVE-2026-101900

cve-icon Vulnrichment

Updated: 2026-09-28T17:49:09.561Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-28T18:17:18.050

Modified: 2026-09-30T19:38:27.293

Link: CVE-2026-101900

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-28T17:14:07Z

Links: CVE-2026-101900 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T06:15:18Z

Weaknesses
  • CWE-1287

    Improper Validation of Specified Type of Input

  • CWE-1321

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

  • CWE-693

    Protection Mechanism Failure

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')