CVE-2026-101901

Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization

Published Sep 28, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
Axios is a promise-based HTTP client for the browser and Node.js. From 1.13.0 until 1.20.0, Http2Sessions does not install adequate error handling for a ClientHttp2Session during Axios HTTP/2 session initialization or reuse. A request uses httpVersion: 2 and the ClientHttp2Session emits an error during session initialization or reuse. The unhandled session error escapes normal Promise rejection handling. The uncaught error can terminate the Node.js process and cause denial of service. This issue is fixed in version 1.20.0.

Analysis

AI-generated

Technical impact

Axios is a widely used promise‑based HTTP client for browsers and Node.js. Between versions 1.13.0 and 1.20.0, the library fails to install error handling for the ClientHttp2Session during HTTP/2 session initialization or reuse. When a request specifies httpVersion: 2 and the underlying ClientHttp2Session emits an error, that event bypasses the Promise rejection path and propagates as an uncaught exception. The unhandled error can terminate the Node.js process, resulting in a denial of service.

Affected Systems

The affected product is Axios (axios:axios) in Node.js. Vulnerable releases span from 1.13.0 up to, but not including, 1.20.0. Any Node.js application that imports Axios within this version range and initiates HTTP/2 requests is at risk. The fix is supplied in Axios 1.20.0 and later.

Risk and Exploitability

The CVSS score of 8.2 denotes a high severity DoS vulnerability, while the EPSS score of less than 1% indicates a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector involves an attacker forcing the application to create or reuse an HTTP/2 session that triggers a ClientHttp2Session error—such as by sending a crafted HTTP/2 request or by exploiting an endpoint that internally uses Axios for downstream calls. Because the unhandled error can terminate the entire process, an attacker who can influence the request flow can interrupt service availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Axios to version 1.20.0 or newer to incorporate the fixed error handling.
  • Wrap Axios calls that use httpVersion: 2 in explicit error handling (try/catch or .catch()) and register a process.on('uncaughtException') handler to log the error and prevent process termination.
  • If an upgrade is not immediately possible, disable HTTP/2 usage by setting httpVersion to 1.1 or removing the httpVersion: 2 option from requests, thus avoiding the buggy code path.

Generated by OpenCVE AI on September 30, 2026 at 04:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-542g-h47m-68v8 Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization
History
Type Values Removed Values Added
Metrics ssvc

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

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

None

cvssV3_1

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

threat_severity

Important

Type Values Removed Values Added
First Time appeared Axios
Axios axios
Vendors & Products Axios
Axios axios
Type Values Removed Values Added
Description Axios is a promise-based HTTP client for the browser and Node.js. From 1.13.0 until 1.20.0, Http2Sessions does not install adequate error handling for a ClientHttp2Session during Axios HTTP/2 session initialization or reuse. A request uses httpVersion: 2 and the ClientHttp2Session emits an error during session initialization or reuse. The unhandled session error escapes normal Promise rejection handling. The uncaught error can terminate the Node.js process and cause denial of service. This issue is fixed in version 1.20.0.
Title Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-248

    Uncaught Exception

  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 1, 2026, 2:41 PM
Reserved
Sep 28, 2026, 3:55 PM
Status
Awaiting Analysis
Published
Sep 28, 2026, 6:17 PM
Modified
Oct 1, 2026, 3:17 PM
Severity
Important
Public date
Sep 28, 2026, 5:16 PM