What’s Vulnerable › Vulnerabilities
CVE-2026-40175: Axios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-10 · updated 2026-09-09
- Weakness: CWE-113
Description
Axios is a promise based HTTP client for the browser and Node.js. Versions prior to 1.15.0 and 0.3.1 are vulnerable to a specific gadget-style attack chain in which prototype pollution in a third-party dependency may be leveraged to inject unsanitized header values into outbound requests. This vulnerability is fixed in 1.15.0 and 0.3.1.
Affected products
- axios: before 0.31.0; from 1.0.0 before 1.15.0 — fixed in 0.31.0, 1.15.0
- Npm Axios: from 1.0.0 before 1.15.0; before 0.31.0 — fixed in 1.15.0, 0.31.0
How to fix
Upgrade to a fixed version: axios 0.31.0, 1.15.0; Npm Axios 1.15.0, 0.31.0. Check the vendor advisory for mitigations.
References
- https://github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9c
- https://github.com/axios/axios/commit/363185461b90b1b78845dc8a99a1f103d9b122a1
- https://github.com/axios/axios/pull/10660
- https://github.com/axios/axios/pull/10688
- https://github.com/axios/axios/releases/tag/v0.31.0
- https://github.com/axios/axios/releases/tag/v1.15.0
- https://github.com/axios/axios/security/advisories/GHSA-fvcv-3m26-pcqx
- https://github.com/axios/axios/pull/10660#issuecomment-4224168081
- https://access.redhat.com/errata/RHSA-2026:10104
- https://access.redhat.com/errata/RHSA-2026:10153
- https://access.redhat.com/errata/RHSA-2026:10172
- https://access.redhat.com/errata/RHSA-2026:10175
Get alerted when CVE-2026-40175 or the next vulnerability affects your stack