Axios Prototype Pollution Vulnerability: Early Warning
- Severity
- HIGH
- Affected component
- axios (npm)
- Affected versions
- >= 1.0.0, < 1.16.0 or >= 1.0.0, < 1.15.2 or >= 0.19.0, < 0.31.1 or >= 1.0.0, < 1.15.0 or < 0.31.0 or >= 1.0.0, < 1.15.2 or >= 0.28.0, < 0.33.0 or >= 1.0.0, < 1.18.0 or < 0.18.1 or >= 1.0.0, < 1.13.5 or < 0.30.3 or >= 1.0.0, < 1.15.1 or >= 1.0.0, < 1.12.0 or >= 0.28.0, < 0.30.2 or < 0.21.1 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.15.2, < 1.16.0 or >= 1.15.2, <= 1.15.2 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.7.0, < 1.16.0 or >= 0.8.0, < 0.33.0 or >= 1.0.0, < 1.18.0 or >= 1.0.0, < 1.16.0 or < 0.32.0 or >= 1.3.2, < 1.7.4 or < 0.21.2 or >= 1.15.0, < 1.18.0 or >= 0.31.0, < 0.33.0 or >= 1.0.0, < 1.15.0 or < 0.31.0 or >= 0.31.1, < 0.33.0 or >= 1.15.2, < 1.18.0 or >= 0.31.1, < 0.33.0 or >= 1.15.1, < 1.18.0 or >= 1.0.0, < 1.16.0 or < 0.32.0 or >= 1.0.0, < 1.16.0 or < 0.32.0 or >= 1.7.0, < 1.18.0 or >= 1.0.0, < 1.8.2 or < 0.30.0 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.0.0, < 1.18.0 or < 0.33.0 or >= 1.13.0, < 1.18.0 or >= 1.0.0, < 1.16.0 or < 0.32.0 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.15.0, < 1.16.0 or < 0.32.0 or >= 0.28.0, < 0.33.0 or >= 1.0.0, < 1.18.0 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.0.0, < 1.15.2 or >= 1.13.0, < 1.13.2 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.0.0, < 1.6.0 or >= 0.8.1, < 0.28.0 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 1.15.2, < 1.18.0 or >= 1.0.0, < 1.15.1 or < 0.31.1 or >= 0.30.4, <= 0.30.4 or >= 1.14.1, <= 1.14.1
- Patched version
- Not yet available
An early warning has been issued for a prototype pollution vulnerability in Axios versions >=1.15.2 and <1.18.0. This vulnerability allows an attacker to inject Basic auth credentials or replace an existing Authorization header.
What happened
An early warning has been issued for a prototype pollution vulnerability in Axios versions >=1.15.2 and <1.18.0. This vulnerability, tracked as GHSA-38GX-CFQF-F652 and GHSA-XJ6Q-8X83-JV6G, was first flagged on 2026-08-01T15:30:27+00:00. The vulnerability is located in the Basic auth subfield handling of Axios. An attacker who controls the polluted prototype values can inject attacker-chosen Basic auth credentials or replace an existing Authorization header.
The vulnerability is reportedly not yet exploited in the wild and is not part of a supply-chain attack. However, due to the severity of the issue, it is recommended to upgrade to axios@1.18.0 or later to mitigate the risk of prototype pollution.
What to do about it
- Check your project dependencies for any versions of Axios that fall within the affected range (>=1.15.2 and <1.18.0).
- Upgrade to axios@1.18.0 or later to mitigate the risk of prototype pollution.
- Monitor the primary sources for updates on this vulnerability.
How 0Day would have caught this
axios is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.
Frequently asked questions
Am I affected?
You are affected if your project uses Axios versions >=1.15.2 and <1.18.0.
What should I do right now?
Upgrade to axios@1.18.0 or later to mitigate the risk of prototype pollution.
Is this vulnerability being exploited in the wild?
The primary sources indicate that this vulnerability is not yet exploited in the wild.
Where can I find more information about this vulnerability?
Consult the primary sources: GHSA-38GX-CFQF-F652 and GHSA-XJ6Q-8X83-JV6G.