# CVE-2026-101902: Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP Method

> Prototype pollution gadget in Axios allows attackers to override HTTP methods if Object.prototype is polluted, potentially causing unintended state-changing requests.

- **Severity:** Medium 6.9 (`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 28 Sep 2026
- **Updated:** 28 Sep 2026
- **Also known as:** AZL-105245, CLEANSTART-2026-CB38502, CLEANSTART-2026-YP57972, DEBIAN-CVE-2026-101902, ECHO-6bca-9fdf-e5cd, GHSA-9fr6-4gfg-395g, MINI-323c-fgh3-vx4q, MINI-3p94-qq55-5p46, MINI-4wfx-4gpq-9hff, MINI-559h-p6f4-c3p2, MINI-7fvc-m464-rw2q, MINI-7q6r-8ph3-r2px, MINI-cjhp-rp39-r3vc, MINI-cq32-wpqp-w7x7, MINI-hh94-8fc9-gqxf, MINI-hhrc-9c4c-j4g7, MINI-j9h8-cg8g-6924, MINI-jj26-mfcx-gff6, MINI-jxf3-5fj8-x65w, MINI-m3hh-h7fj-93jp, MINI-m8cv-f59v-wp33, MINI-qrrw-383j-6879, MINI-rqm8-5wgp-276m, MINI-wjf4-593g-7rg5, UBUNTU-CVE-2026-101902

## What is CVE-2026-101902?

CVE-2026-101902 is a medium-severity vulnerability in axios, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Axios is a promise-based HTTP client for the browser and Node.js. From 0.27.2 until 0.34.0 and 1.20.0, Axios default-instance requests that omit an explicit method can read an inherited method value from Object.prototype. If another vulnerability in the same process pollutes Object.prototype.method, calls such as axios.request({ url }) and axios({ url }) can send a state-changing HTTP method instead of the expected default GET. Axios does not create the prototype pollution source. This is a read-side gadget in axios request dispatch. This issue is fixed in version 0.34.0 and 1.20.0.

Weakness: CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes)

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

4 open source packages ship an affected version, including axios.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `axios` | npm | From 0.27.2 | 0.34.0 |
| `axios` | npm | From 0.27.2 | 0.34.0 |
| `axios` | npm | From 1.0.0 | 1.20.0 |
| `axios` | npm | From 1.0.0 | 1.20.0 |

## How do I fix CVE-2026-101902?

Upgrade axios to a fixed version for your release line: 0.34.0 or 1.20.0.

## Is CVE-2026-101902 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-101902 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-101902 and fix it if it is affected.

What it is: CVE-2026-101902 is a medium-severity vulnerability in axios, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-101902 exists.

Affected packages and fixed versions:
- axios (npm): affected from 0.27.2; fixed in 0.34.0
- axios (npm): affected from 0.27.2; fixed in 0.34.0
- axios (npm): affected from 1.0.0; fixed in 1.20.0
- axios (npm): affected from 1.0.0; fixed in 1.20.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-101902/ (Markdown: https://insights.sbomify.com/CVE-2026-101902/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-101902
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-101902
- OSV: https://osv.dev/vulnerability/CVE-2026-101902

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-101902/
Summaries are generated and may contain mistakes; the official description above is the record.
