Impact
Axios allows the HTTP/2 adapter to skip the proxy and DNS lookup settings supplied by the caller or derived from the environment. The library executes http2.connect() directly, so a request configured to use a proxy or a custom DNS resolution policy could still reach the destination unmediated. This bypass constitutes a DNS and proxy bypass weakness (CWE‑918), potentially allowing an application to reach endpoints outside the intended tunnel, leaking data, or sidestepping security controls.
Affected Systems
Axios 1.13.0 through 1.20.0, used in browser and Node.js environments. Any project that includes axios between those versions is vulnerable.
Risk and Exploitability
The CVSS score is 7, representing high severity. EPSS is not available, and the issue is not listed in CISA KEV. An attacker can exploit this by sending an HTTP/2 request that triggers the erroneous path. When the application is configured to use a proxy or a custom DNS resolver, the HTTP/2 request can still be sent directly to the target, bypassing the intended controls. The vulnerability is remotely exploitable through the application's normal request flow without additional input.
OpenCVE Enrichment
Github GHSA