All vulnerabilities

npm

CVE-2026-44490

axios has DoS & Header Injection via Prototype Pollution Read-Side Gadgets in axios merge functions

Severity
Medium 4.8
Published
29 May 2026
Last changed
10 Sept 2026
Added to UpHeron
22 Oct 2026
Fixed in
0.32.0, 1.16.0
Exploit chance
0.3% in the next 30 daysHigher than 26% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Prototype pollution (CWE-1321)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Also known as
GHSA-898c-q2cr-xwhg
Sources
OSV.dev and GitHub

Description

axios 1.15.2 exposes two read-side prototype-pollution gadgets. When Object.prototype is polluted by an upstream dependency in the same process (e.g. lodash _.merge / CVE-2018-16487), axios silently picks up the polluted values:

  • Header injection - lib/utils.js line 406 builds merge()'s accumulator as result = {}, so result[targetKey] (line 414) walks Object.prototype and the polluted bucket's own keys are copied into the merged headers and ride out on the wire.
  • Crash DoS - lib/core/mergeConfig.js line 26 builds the hasOwnProperty descriptor as a plain-object literal. Object.defineProperty reads descriptor.get/descriptor.set via the prototype chain, so a polluted Object.prototype.get or Object.prototype.set makes the call throw TypeError synchronously on every axios request.
  • Server hang (Content-Length: 99999): receiver waits for a body that never arrives. Affects requests with a body.
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
axiosnpm · osv:npm:axios
  • Every version before 0.32.0
  • From 1.0.0 before 1.16.0

About axios

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

References