Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. axios
  4. ›
  5. CVE-2026-44490

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

May 29, 2026 (updated June 12, 2026)

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:

  1. 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.
  2. 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.

References

  • github.com/advisories/GHSA-898c-q2cr-xwhg
  • github.com/axios/axios/security/advisories/GHSA-898c-q2cr-xwhg
  • nvd.nist.gov/vuln/detail/CVE-2018-16487
  • nvd.nist.gov/vuln/detail/CVE-2026-44490

Code Behaviors & Features

Detect and mitigate CVE-2026-44490 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.32.0, all versions starting from 1.0.0 before 1.16.0

Fixed versions

  • 0.32.0
  • 1.16.0

Solution

Upgrade to versions 0.32.0, 1.16.0 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/axios/CVE-2026-44490.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:59 +0000.