Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
3451 articles · 142163 vulns · 36/41 feeds (7d)
← Back to list
7.4
CVE-2026-42035EXPLOITEDPATCHED
axios · axios

Axios: Header Injection via Prototype Pollution

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.

Affected Products

VendorProductVersions
axiosaxiosnpm/axios: >= 1.0.0, < 1.15.1, npm/axios: <= 0.31.0

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
ibmapp connect enterprisecert_advisory90%
npmaxiosGHSA85%

References

  • https://github.com/axios/axios/security/advisories/GHSA-6chq-wfr3-2hj9(x_refsource_CONFIRM)

Related News (2 articles)

Tier B
BSI Advisories9h ago
[NEU] [mittel] IBM App Connect Enterprise (Axios): Mehrere Schwachstellen
→ No new info (linked only)
Tier C
VulDB17d ago
CVE-2026-42035 | Axios up to 0.31.0/1.15.0 lib/adapters/http.js getHeaders response splitting (GHSA-6chq-wfr3-2hj9)
→ No new info (linked only)
CVSS 3.17.4 HIGH
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA KEV❌ No
Actively exploited✅ Yes
Patch available
axios@1.15.1axios@0.31.1
CWECWE-113, CWE-1321
PublishedApr 24, 2026
Last enriched17d agov2
Trending Score68
Source articles2
Independent2
Info Completeness8/14
Missing: epss, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

MEDIUMCVE-2026-42034EXP
Axios: HTTP adapter streamed uploads bypass maxBodyLength when maxRedirects: 0
Trending: 69
HIGHCVE-2026-42033EXP
Axios: Prototype Pollution Gadgets - Response Tampering, Data Exfiltration, and Request Hijacking
Trending: 68
MEDIUMCVE-2026-42038EXP
Axios: no_proxy bypass via IP alias allows SSRF
Trending: 60
MEDIUMCVE-2026-42044EXP
Axios: Invisible JSON Response Tampering via Prototype Pollution Gadget in `parseReviver`
Trending: 60
MEDIUMCVE-2026-42041EXP
Axios: Authentication Bypass via Prototype Pollution Gadget in `validateStatus` Merge Strategy
Trending: 60

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Apr 24, 2026
Discovered by ZDM
Apr 24, 2026
Updated: description, severity, activelyExploited
Apr 24, 2026
Actively Exploited
Apr 25, 2026
Patch Available
Apr 25, 2026

Version History

v2
Last enriched 17d ago
v2Tier C17d ago

Updated description with new details about CVE-2026-42035 and changed severity to MEDIUM.

descriptionseverityactivelyExploited
via VulDB
v117d ago

Initial creation