# CVE-2026-42044: Axios: Invisible JSON Response Tampering via Prototype Pollution Gadget in \`parseReviver\`

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.13% (percentile 66, 2026-11-26)
- **CWE:** CWE-915, CWE-1321
- **Aliases:** GHSA-3w6x-2g7m-8v23
- **Published:** 2026-04-24T17:49:49.517Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Projects that depend on npm package axios (\>= 1.0.0, \< 1.15.2)
- Anyone running axios \>= 1.0.0, \< 1.15.2

## Description

Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.15.2, he Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution in the application's dependency tree to be escalated into surgical, invisible modification of all JSON API responses — including privilege escalation, balance manipulation, and authorization bypass. The default transformResponse function at lib/defaults/index.js:124 calls JSON.parse(data, this.parseReviver), where this is the merged config object. Because parseReviver is not present in Axios defaults, not validated by assertOptions, and not subject to any constraints, a polluted Object.prototype.parseReviver function is called for every key-value pair in every JSON response, allowing the attacker to selectively modify individual values while leaving the rest of the response intact. This vulnerability is fixed in 1.15.2.

## Affected and fixed versions

- npm `axios`: affected \>= 1.0.0, \< 1.15.2; fixed 1.15.2 (osv)
- axios: \>= 1.0.0, \< 1.15.2 (cvelist)

## Mitigation

- Upgrade axios to 1.15.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-42044. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-42044.md
Affected: axios >= 1.0.0, < 1.15.2
Fixed in: 1.15.2

Steps:
1. Search this machine and project for axios (npm), axios: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-42044 being exploited?

There is no confirmed exploitation: CVE-2026-42044 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.13% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-42044?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-42044?

axios \>= 1.0.0, \< 1.15.2.

### Is there a fix for CVE-2026-42044?

Yes. Fixed in 1.15.2. Upgrade axios to 1.15.2 or later.

### How do I check if I'm affected by CVE-2026-42044?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/axios/axios/security/advisories/GHSA-3w6x-2g7m-8v23>
- vendor: <https://access.redhat.com/errata/RHSA-2026:42078>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25089>
- vendor: <https://access.redhat.com/errata/RHSA-2026:24473>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36882>
- vendor: <https://access.redhat.com/errata/RHSA-2026:24539>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25273>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20938>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20889>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36107>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21338>
- vendor: <https://access.redhat.com/errata/RHSA-2026:33574>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20338>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25041>
- vendor: <https://access.redhat.com/errata/RHSA-2026:50300>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21772>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20454>
- vendor: <https://access.redhat.com/errata/RHSA-2026:16534>
- vendor: <https://access.redhat.com/errata/RHSA-2026:16532>
- vendor: <https://access.redhat.com/errata/RHSA-2026:16535>
- vendor: <https://access.redhat.com/errata/RHSA-2026:16542>
- vendor: <https://access.redhat.com/errata/RHSA-2026:22840>
- vendor: <https://access.redhat.com/errata/RHSA-2026:22629>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21017>
- vendor: <https://access.redhat.com/errata/RHSA-2026:24853>
- vendor: <https://access.redhat.com/errata/RHSA-2026:19375>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41066>
- vendor: <https://access.redhat.com/errata/RHSA-2026:22465>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23361>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26214>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26232>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26225>
- vendor: <https://access.redhat.com/errata/RHSA-2026:24471>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34608>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25271>
- vendor: <https://access.redhat.com/errata/RHSA-2026:24536>
- vendor: <https://access.redhat.com/errata/RHSA-2026:17657>
- vendor: <https://access.redhat.com/errata/RHSA-2026:17699>
- vendor: <https://access.redhat.com/errata/RHSA-2026:19109>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-42044>
- other: <https://access.redhat.com/security/cve/CVE-2026-42044>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2461624>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42044.json>
- other: <https://github.com/axios/axios>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-42044>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3w6x-2g7m-8v23> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-42044> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-42044>
