CVE-2026-44496
JavaScript Analisi e mitigazione delle vulnerabilità

Panoramica

CVE-2026-44496 is a Regular Expression Denial of Service (ReDoS) vulnerability in the Axios HTTP client library (npm package) that allows an attacker who can influence the XSRF cookie name configuration to trigger catastrophic regex backtracking in standard browser environments. It affects Axios versions <= 0.31.1 on the 0.x line and >= 1.0.0, < 1.16.0 on the 1.x line. The vulnerability was published by maintainer jasonsaayman on May 30, 2026, and added to the GitHub Advisory Database on June 4, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Axios Security Advisory).

Dettagli tecnici

The root cause is in lib/helpers/cookies.js (read(name) function), which constructs a RegExp object by directly concatenating the unsanitized name parameter: document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)')). Because regex metacharacters in name are never escaped, an attacker can inject patterns with nested quantifiers (e.g., (.+)+$) that cause exponential backtracking against the contents of document.cookie (CWE-1333, CWE-400). The vulnerable code path is reached via lib/helpers/resolveConfig.js (1.x) and lib/adapters/xhr.js (0.x) when the XHR/fetch adapters resolve the XSRF cookie name from configuration — which can be influenced through prototype pollution or direct configuration injection. The issue is strictly limited to standard browser environments where document.cookie is accessible; Node.js HTTP adapter usage, React Native, and web workers are unaffected (GitHub Advisory, Axios Security Advisory).

Impatto

The impact is limited to availability only — the vulnerability does not expose credentials, modify requests, or affect response integrity. A successful exploit causes the JavaScript event loop to stall, freezing the affected browser tab and blocking all pending asynchronous operations, timers, and I/O callbacks for the duration of the regex evaluation. In Server-Side Rendering (SSR) scenarios where the vulnerable code path is reachable, the Node.js event loop could be blocked, rendering the server unresponsive. PoC benchmarks demonstrate exponential growth: a 26-character payload produces ~1,344 ms of CPU consumption, and a 30-character payload extrapolates to over 5 minutes (GitHub Advisory).

Mitigazione e soluzioni alternative

Upgrade to Axios 0.32.0 (0.x line) or Axios 1.16.0 (1.x line), which replace dynamic regex construction with string-based cookie parsing using exact string equality comparisons (Axios v0.32.0 Release, Axios v1.16.0 Release). If immediate upgrade is not possible, apply one or more of the following workarounds:

  • Set xsrfCookieName: null in Axios configuration if XSRF cookie reading is not required.
  • Never derive xsrfCookieName from untrusted or user-controlled input.
  • If a dynamic cookie name is unavoidable, validate it against a strict allowlist of safe cookie-name characters before passing it to Axios.
  • Avoid calling axios/unsafe/helpers/cookies.js directly with untrusted input (Axios Security Advisory).

Risorse aggiuntive


FonteQuesto report è stato generato utilizzando l'intelligenza artificiale

Imparentato JavaScript Vulnerabilità:

CVE ID

Severità

Punteggio

Tecnologie

Nome del componente

Exploit CISA KEV

Ha la correzione

Data di pubblicazione

CVE-2026-44494HIGH8.7
  • JavaScriptJavaScript
  • kibana-9.0
NoJun 11, 2026
CVE-2026-44492HIGH8.6
  • JavaScriptJavaScript
  • kibana-9.3
NoJun 11, 2026
CVE-2026-44705HIGH7.7
  • JavaScriptJavaScript
  • wazuh-dashboard
NoJun 11, 2026
CVE-2026-44496HIGH7.5
  • JavaScriptJavaScript
  • openclaw
NoJun 11, 2026
CVE-2026-44495HIGH7
  • JavaScriptJavaScript
  • redisinsight
NoJun 11, 2026

Valutazione gratuita delle vulnerabilità

Benchmark della tua posizione di sicurezza del cloud

Valuta le tue pratiche di sicurezza cloud in 9 domini di sicurezza per confrontare il tuo livello di rischio e identificare le lacune nelle tue difese.

Richiedi valutazione

Richiedi una demo personalizzata

Pronti a vedere Wiz in azione?

"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
David EstlickCISO (CISO)
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
Adam FletcherResponsabile della sicurezza
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."
Greg PoniatowskiResponsabile della gestione delle minacce e delle vulnerabilità