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

CVE-2026-44496: Axios: Regular Expression Denial of Service (ReDoS) via Cookie Name Injection

June 4, 2026 (updated June 11, 2026)

Axios versions before 0.32.0 on the 0.x line and before 1.16.0 on the 1.x line build a regular expression from the configured XSRF cookie name without escaping regex metacharacters. In standard browser environments, an attacker who can influence the cookie name passed to axios can cause expensive regex backtracking while axios reads document.cookie.

The practical impact is client-side availability degradation, such as freezing the affected browser tab while axios prepares a request. The issue does not affect ordinary Node.js HTTP adapter usage, React Native, or web workers, where axios does not read document.cookie.

References

  • github.com/advisories/GHSA-hfxv-24rg-xrqf
  • github.com/axios/axios/releases/tag/v0.32.0
  • github.com/axios/axios/releases/tag/v1.16.0
  • github.com/axios/axios/security/advisories/GHSA-hfxv-24rg-xrqf
  • nvd.nist.gov/vuln/detail/CVE-2026-44496

Code Behaviors & Features

Detect and mitigate CVE-2026-44496 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 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity
  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/axios/CVE-2026-44496.yml

Spotted a mistake? Edit the file on GitLab.

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

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