Security Resilience

CVE-2026-42035

Axios ≤ 0.31.1

Public PoC
Published
24 April 2026
Modified
11 November 2026
Patch / advisory
CVSS Score v3.1 7.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0042 28th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-42035 is a high-severity HTTP Request/Response Splitting (CWE-113) vulnerability in Axios. Its CVSS base score is 7.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Internal Defacement (T1491.001); ranked at the 28th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-15 (Information Output Filtering) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-42035 is a prototype pollution vulnerability in the Axios HTTP client library for browsers and Node.js, specifically within the HTTP adapter at lib/adapters/http.js. Versions prior to 1.15.1 and 0.31.1 are affected, where duck-type checking of data payloads can be exploited. If Object.prototype is polluted with methods such as getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios incorrectly identifies a plain object as a FormData instance and invokes the attacker-controlled getHeaders() function, allowing arbitrary HTTP headers to be merged into outgoing requests. The pollution source can originate from any dependency in the application's tree, not necessarily Axios itself.

A remote attacker with no privileges can exploit this by triggering prototype pollution through a vulnerable dependency, enabling injection of arbitrary headers into Axios-generated HTTP requests. This misidentification occurs during payload processing, compromising confidentiality and integrity (CVSS 7.4: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) without impacting availability. Exploitation requires high attack complexity, typically involving a chain from an initial prototype pollution primitive to Axios usage with a crafted plain object payload.

The GitHub security advisory (GHSA-6chq-wfr3-2hj9) confirms the issue is resolved in Axios versions 1.15.1 and 0.31.1, recommending immediate upgrades for affected installations. Practitioners should audit dependencies for prototype pollution risks and monitor for vulnerable Axios versions in browser and Node.js environments.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1491.001 Internal Defacement Impact
An adversary may deface systems internal to an organization in an attempt to intimidate or mislead users, thus discrediting the integrity of the systems.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1491 Defacement Impact
Adversaries may modify visual content available internally or externally to an enterprise network, thus affecting the integrity of the original content.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-44489Same product: Axios Axios
CVE-2026-44490Same product: Axios Axios
CVE-2026-42044Same product: Axios Axios
CVE-2026-42264Same product: Axios Axios
CVE-2026-42033Same product: Axios Axios
CVE-2026-42041Same product: Axios Axios
CVE-2026-44494Same product: Axios Axios
CVE-2026-40175Same product: Axios Axios
CVE-2026-42037Same product: Axios Axios
CVE-2026-44496Same product: Axios Axios

Affected Assets

axios
axios
≤ 0.31.1 · 1.0.0 — 1.15.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V3.4.2
  • V4.1.3
  • V1.3.6
  • V4.2.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation stops unneutralized CR/LF characters from being accepted and later emitted in HTTP headers.

Output filtering can neutralize CRLF sequences before they reach HTTP response headers.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input sanitization and header handling that prevent CRLF injection.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance can detect CRLF injection flaws before deployment.

prevents

Training can reduce CRLF-injection mistakes by teaching developers to validate header-bound input, but it does not itself neutralize CRLF sequences and leaves coding, review, and testing failures possible.

prevents

Secure coding standards require neutralization of CRLF sequences before inclusion in HTTP headers.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software CWEs in delivered code the way those practices do; CWE-113 is an implementation-phase input-handling defect of the same kind, and the clause reaches it at the same `partial` rung the owner set for A.8.30 -> CWE-134, which is also the clause's declared ceiling on this verb.

blocks

Change-management processes ensure security fixes for prototype-pollution issues are tracked and deployed.

finds

A.8.8's reach is DISCLOSURE — it sees only what vendors publish. CWE-113 is an implementation defect in first-party application code (custom web apps failing to neutralize CRLF in headers), and the bulk of instances live in code no advisory names. A.8.8 finds the minority where the weakness surfaces as a CVE in a third-party component (e.g., CVE-2020-15811 in a proxy, CVE-2021-41084 in a Scala HTTP interface), matching the same disclosure-bounded minority that graded A.8.8 -> CWE-89 at `partial`.

References