All vulnerabilities

npm

CVE-2026-44495

axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge

Severity
High 7.0
Published
29 May 2026
Last changed
10 Sept 2026
Added to UpHeron
22 Oct 2026
Fixed in
0.31.1, 1.15.2
Exploit chance
0.9% in the next 30 daysHigher than 59% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Prototype pollution (CWE-1321)Code injection (CWE-94)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Also known as
GHSA-3g43-6gmg-66jw
Sources
OSV.dev and GitHub

Description

Axios versions before the fixed releases contain prototype-pollution gadgets in request config processing. If another vulnerability in the same JavaScript process has already polluted Object.prototype.transformResponse, affected Axios versions may treat that inherited value as request configuration or as an option validator.

Axios does not itself create the prototype pollution. Exploitability requires a separate prototype-pollution vulnerability or equivalent attacker control over Object.prototype before Axios creates a request.

For ordinary prototype-pollution primitives that can only assign JSON-like values, this issue primarily results in request failures or denial-of-service attacks.

If the attacker can pollute Object.prototype.transformResponse with a function, affected versions of Axios may execute it. In fully affected versions, the function can observe response data and request config, including URL, headers, and auth, and can change the response data returned to…

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
axiosnpm · osv:npm:axios
  • From 0.19.0 before 0.31.1
  • From 1.0.0 before 1.15.2

About axios

Weekly downloads (npm)
143,624,637npm, 16 Nov 2026

References