CVE-2026-42035
CVE-2026-42035 is a high-severity vulnerability in Axios with a CVSS 3.x base score of 7.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-113.
Key facts
- Severity: High (CVSS 3.x base score 7.4)
- EPSS exploit prediction: 0% (31st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-25589
- Weakness: CWE-113
- Affected product: Axios
- Published:
- Last modified:
Description
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. 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.
Frequently asked questions
- What is CVE-2026-42035?
- 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. 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.
- How severe is CVE-2026-42035?
- CVE-2026-42035 has a CVSS 3.x base score of 7.4, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2026-42035 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (31st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-42035?
- CVE-2026-42035 affects Axios. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-42035?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-42035 have an EU (EUVD) identifier?
- Yes. CVE-2026-42035 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-25589.
- When was CVE-2026-42035 published?
- CVE-2026-42035 was published on 2026-04-24 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
More vulnerabilities in Axios
- CVE-2025-62718 — Critical (CVSS 9.9): Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0 and 0.31.0, Axios does not correctly…
- CVE-2026-44494 — High (CVSS 8.7): Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.16.0, the Axios library is…
- CVE-2026-44492 — High (CVSS 8.6): Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios does not normalise…
- CVE-2026-44496 — High (CVSS 7.5): Axios is a promise based HTTP client for the browser and Node.js. Axios versions before 0.32.0 on the 0.x line and…
- CVE-2026-44488 — High (CVSS 7.5): Axios is a promise based HTTP client for the browser and Node.js. Axios versions 1.7.0 through 1.15.x did not enforce…
- CVE-2026-44487 — High (CVSS 7.5): Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios’s Node.js HTTP…
Other CWE-113 (HTTP Response Splitting) vulnerabilities
- CVE-2026-38967 — Critical (CVSS 9.8): CrowCpp Crow through v1.3.1 HTTP is vulnerable to response header injection via unvalidated response header values.
- CVE-2026-34520 — Critical (CVSS 9.1): AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, the C parser…
- CVE-2025-53007 — High (CVSS 8.9): arduino-esp32 provides an Arduino core for the ESP32. Versions prior to 3.3.0-RC1 and 3.2.1 contain a HTTP Response…
- CVE-2024-52875 — High (CVSS 8.8): An issue was discovered in GFI Kerio Control 9.2.5 through 9.4.5. The dest GET parameter passed to the…
- CVE-2018-0689 — High (CVSS 8.8): HTTP header injection vulnerability in SEIKO EPSON printers and scanners (DS-570W firmware versions released prior to…
- CVE-2018-11347 — High (CVSS 8.8): The YunoHost 2.7.2 through 2.7.14 web application is affected by one HTTP Response Header Injection. This flaw allows…
Browse all CWE-113 (HTTP Response Splitting) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 157.66.35.106 (ipv4-addr)