CVE-2026-44496

Regular Expression Denial of Service
Affects
axios
in
Axios
No items found.
Versions
>=1.0.0, <1.16.0; <0.32.0

Patch Available.

Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

Axios is a promise-based HTTP client for JavaScript applications running in the browser and Node.js. It provides a simple API, flexible request and response interceptors, and built-in support for automatic JSON transformation, request cancellation, and timeouts to simplify communication with APIs and services.

A vulnerability (CVE-2026-44496) has been identified in Axios’s browser cookie-reading logic. Axios builds a regular expression from the configured xsrfCookieName without escaping regex metacharacters. If an attacker can influence this setting, a crafted value can trigger excessive backtracking when Axios reads document.cookie, consuming CPU time and potentially freezing the browser tab.

This behavior maps to CWE-1333 (Inefficient Regular Expression Complexity), where expensive regex evaluation consumes excessive CPU resources. The advisory also identifies CWE-400 (Uncontrolled Resource Consumption). In Axios, interpreting an attacker-controlled cookie name as regex syntax can cause a Regular Expression Denial of Service (ReDoS), impairing application responsiveness.

Details

Module Info

Vulnerability Info

This high-severity vulnerability affects browser applications that allow attacker-controlled input to reach Axios’s xsrfCookieName configuration or its internal cookie-reading helper. The GitHub advisory assigns a CVSS v3.1 score of 7.5.

A malicious cookie-name pattern can cause excessive regex backtracking during request preparation, blocking JavaScript execution and freezing the affected tab. Ordinary Node.js HTTP adapter usage is unaffected, as is the default static cookie name when attackers cannot influence it. The documented impact is limited to availability.

This behavior aligns with CWE-1333 (Inefficient Regular Expression Complexity) and CWE-400 (Uncontrolled Resource Consumption). Inefficient regex matching can require disproportionately large amounts of computation for particular inputs, exhausting CPU resources and preventing other work from progressing.

Mitigation

Users of affected Axios packages should apply one of the following mitigations:

  • Upgrade to a patched version of the axios package.
  • Leverage commercial support — HeroDevs provides security support for Axios.
Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
High
ID
CVE-2026-44496
PROJECT Affected
axios
Versions Affected
>=1.0.0, <1.16.0; <0.32.0
NES Versions Affected
Published date
September 23, 2026
≈ Fix date
September 9, 2026
Category
Regular Expression Denial of Service
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for Axios
Rss feed icon
Subscribe via RSS
or

By submitting the form I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.