Description
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.13.2, Axios HTTP/2 session cleanup logic contains a state corruption bug that allows a malicious server to crash the client process through concurrent session closures. The vulnerability exists in the Http2Sessions.getSession() method in lib/adapters/http.js. The session cleanup logic contains a control flow error when removing sessions from the sessions array. This vulnerability is fixed in 1.13.2.
Published: 2026-04-08
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

Axios, a widely used promise‑based HTTP client, contains a state corruption bug in its HTTP/2 session cleanup logic. The flaw, present in Axios versions prior to 1.13.2, corrupts the internal session array during concurrent session closures, causing the client process to crash. This results in a denial‑of‑service condition for any application using the affected library. The weakness is rooted in incorrect control‑flow handling when removing sessions, mapping to CWE‑367 (Uncontrolled Resource Consumption), CWE‑400 (Buffer Overflow), and CWE‑662 (Concurrent Access to a Shared Resource).

Affected Systems

Any project that imports the "axios" package at a version earlier than 1.13.2, whether in browser or Node.js environments, is susceptible. The vulnerability is tied to the HTTP/2 adapter implementation and would be triggered when the client communicates with a server that closes sessions concurrently.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, reflecting the impact of a crash but no code execution. The EPSS score is unavailable, and the vulnerability is not listed in the CISA KEV catalog, suggesting lower public exploitation momentum. An attacker can exploit this by acting as a malicious HTTP/2 server that initiates concurrent session closures; the vulnerability is thus remotely exploitable from the server side and does not require local access.

Generated by OpenCVE AI on April 9, 2026 at 01:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade axios to version 1.13.2 or later.

Generated by OpenCVE AI on April 9, 2026 at 01:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-qj83-cq47-w5f8 Axios HTTP/2 Session Cleanup State Corruption Vulnerability
History

Thu, 09 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-367
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 08 Apr 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Axios
Axios axios
Vendors & Products Axios
Axios axios

Wed, 08 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Description Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.13.2, Axios HTTP/2 session cleanup logic contains a state corruption bug that allows a malicious server to crash the client process through concurrent session closures. The vulnerability exists in the Http2Sessions.getSession() method in lib/adapters/http.js. The session cleanup logic contains a control flow error when removing sessions from the sessions array. This vulnerability is fixed in 1.13.2.
Title Axios HTTP/2 Session Cleanup State Corruption Vulnerability
Weaknesses CWE-400
CWE-662
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-08T16:05:53.792Z

Reserved: 2026-04-07T19:13:20.379Z

Link: CVE-2026-39865

cve-icon Vulnrichment

Updated: 2026-04-08T16:05:50.934Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-08T15:16:16.210

Modified: 2026-04-08T21:26:13.410

Link: CVE-2026-39865

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-08T14:25:27Z

Links: CVE-2026-39865 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-09T08:28:06Z

Weaknesses