CVE-2026-40175: Axios HTTP Header Injection via Prototype Pollution Gadget Chain
- Vendor
- Axios
CVE-2026-40175 is an HTTP header sanitization vulnerability in Axios that can act as a gadget for prototype pollution originating in another dependency. Attacker-controlled inherited properties can enter request configuration and outbound header values without adequate rejection of carriage return and line feed characters. This can enable header injection and, in susceptible request-processing environments, further request manipulation. Axios 1.x releases before 1.15.0 are affected. The vulnerability does not itself establish the initial prototype pollution primitive.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the integrity of outbound HTTP requests by injecting malicious header values. Depending on runtime validation, intermediary behavior, and network reachability, the chain may enable HTTP request smuggling, SSRF, or disclosure of sensitive internal service and cloud metadata. Remote code execution and cloud compromise are potential downstream outcomes in susceptible deployments, not unconditional capabilities of the Axios flaw. Practical exploitability in standard Node.js environments is disputed.
Mitigation
If you can’t patch tonight, do this now.
Reject outbound header values containing carriage return or line feed characters before request dispatch, including values introduced through inherited configuration properties. Prevent prototype pollution in the application dependency tree. Restrict application egress to cloud metadata services and sensitive internal endpoints to reduce downstream exposure. For Siemens gWAP, restrict application and network access to authorized users; no product-specific workaround is identified.
Remediation
Patch, then assume compromise.
Upgrade Axios 1.x to version 1.15.0 or a later supported release, and update transitive copies through the applications that bundle them. The legacy 0.x fixed-version information is inconsistent: 0.3.1 and 0.31.0 are both identified; confirm the correct release with the upstream maintainer or product vendor before selecting a legacy update. Apply vendor-supported backports where appropriate. Product-specific fixes include Siemens gWAP V3.1.1 or later, HCL BigFix Inventory 11.0.8.0 or later, and Splunk Enterprise Security 8.7.0, which bundles Axios 1.18.0. Remediate the separate prototype pollution weakness required to initiate the chain.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-40175 exploited in the wild?
- As of Nov 23, 2026, Mallory has no reports of CVE-2026-40175 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-40175?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-40175, the earliest disclosed Apr 17, 2026.
- Is there a patch for CVE-2026-40175?
- Upgrade Axios 1.x to version 1.15.0 or a later supported release, and update transitive copies through the applications that bundle them. The legacy 0.x fixed-version information is inconsistent: 0.3.1 and 0.31.0 are both identified; confirm the correct release with the upstream maintainer or product vendor before selecting a legacy update.
- What products are affected by CVE-2026-40175?
- Axios.
- How severe is CVE-2026-40175?
- CVE-2026-40175 has a CVSS v3.1 score of 4.8 (Medium) and an EPSS score of 1.7% (78th percentile) as of Nov 23, 2026.
Recent activity
63 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.