Skip to main content
CVE-2026-42041VulnerabilityPublished Updated

Node axios: Prior to 1.15.1 and 0.31.1, the Axios library is vulnerable to a Prototype Pollution "Gadget" attack that

Affects node-axiosSource GCVE Database

0
Compare
Authoritative record:CVE-2026-42041· Medium 4.8

Not known to be exploited · CVSS 4.8 Medium · fixed in 1.15.1 : update node-axios when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Contested

Scorers differ by 2 or more points
CVSS scores by source
CNA (GitHub_M)CVSS 3.14.8
ADP (redhat-SADP)CVSS 3.18.2
EPSS
0.6% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.15.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-axiospkg:deb/ubuntu/node-axios?arch=source&distro=stonkingOther threatsAffected
  • 1.13.2+dfsg-1build1 – 1.19.0-1
4 affected builds
Fixed in–
Ubuntu Pro 26.04 LTSnode-axiospkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 1.11.0+dfsg-1 – 1.13.2+dfsg-1ubuntu0.1~esm1
4 affected builds
Fixed in–
Ubuntu 25.10node-axiospkg:deb/ubuntu/node-axios?arch=source&distro=questingOther threatsAffected
  • =1.7.9+dfsg-1
  • =1.8.4+dfsg-1
  • =1.11.0+dfsg-1
Fixed in–
Ubuntu Pro 24.04 LTSnode-axiospkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 1.2.1+dfsg-1 – 1.6.8+dfsg-2ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSnode-axiospkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 0.21.1+dfsg-1 – 0.26.0+dfsg-1ubuntu0.1~esm1
6 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSnode-axiospkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps/focalOther threatsAffected
  • =0.19.0+dfsg-2
  • =0.19.0+dfsg-2ubuntu0.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution to silently suppress all HTTP error responses (401, 403, 500, etc.), causing them to be treated as successful responses. This completely bypasses application-level authentication and error handling. The root cause is that validateStatus is the only config property using the mergeDirectKeys merge strategy, which uses JavaScript's in operator — an operator that inherently traverses the prototype chain. When Object.prototype.validateStatus is polluted with () => true, all HTTP status codes are accepted as success. This vulnerability is fixed in 1.15.1 and 0.31.1.

References

Community reviews

Loading reviews…