Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconConfigure proxy upstream
-
DeliveryApplication sets no_proxy=localhost
-
ExploitAttacker triggers request to 127.0.0.1 or [::1]
-
InstallshouldBypassProxy() performs string match
-
C2Loopback IP not matched
-
ExecuteRequest routes through proxy
-
ImpactAttacker intercepts via proxy
-
Step 8Data exposure or service compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that Axios be configured with a no_proxy setting that explicitly lists localhost or local hostnames (e.g., no_proxy=localhost or no_proxy=127.0.0.1,localhost). The target application must make HTTP requests to IPv4 loopback (127.0.0.1) or IPv6 loopback ([::1]) addresses rather than using the string 'localhost'. A proxy server must be configured upstream of the Axios client (via http_proxy, https_proxy, or equivalent environment variables or explicit proxy configuration in Axios options). The attacker must have network visibility into proxy traffic, proxy logs, or control over the proxy itself to observe or intercept the unintended proxy-routed request. Exploitation does not require authentication to the target Axios application or the proxy. The vulnerability does not affect configurations where no proxy is set, where no_proxy includes explicit IP address patterns that match the loopback addresses, or where the application explicitly requests localhost by hostname rather than IP address. |
| Impact | This vulnerability presents moderate-to-high risk despite the 6.8 CVSS score because it combines a network-exploitable attack vector (AV:N) with high confidentiality impact (C:H) but elevated attack complexity (AC:H). The AC:H and changed scope (S:C) elements suggest the exploit requires specific deployment conditions-likely a proxy configuration where the attacker controls or can observe proxy behavior-but once exploitation conditions are met, sensitive data exposure is possible. The SSRF nature (CWE-918) indicates attackers could leverage this to access internal services that trust loopback traffic, bypass authentication mechanisms that rely on IP-based filtering, or exfiltrate data through proxy logs. No KEV status, EPSS score, or public exploit details were provided in the intelligence data. The vulnerability is patched in released versions (1.15.1 and 0.31.1), reducing urgency for organizations on patching cycles but requiring immediate action for applications with strict no_proxy security policies. Risk is elevated for deployments using Axios in proxy-aware environments (corporate proxies, security appliances, API gateways) where proxy bypass is a security control rather than a convenience feature. |
| Exploit ScenarioDerived | An attacker in a network environment where a corporate or ISP proxy is configured targets an organization using Axios with no_proxy=localhost. The attacker crafts a request to 127.0.0.1 or [::1] (e.g., an internal admin API or metadata service on the loopback interface) expecting the request to bypass the proxy due to the no_proxy setting. Instead, the request routes through the proxy unintentionally, allowing the attacker to intercept, log, or replay the request if they have visibility into the proxy, or to use the proxy as a pivot point to access internal services that should have been protected by the no_proxy bypass. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Axios versions prior to 1.15.1 and 0.31.1 fail to properly bypass proxy configurations when no_proxy=localhost is set, allowing attackers to route requests to loopback addresses (127.0.0.1 and [::1]) through proxy servers instead of bypassing them. This Server-Side Request Forgery (SSRF) vulnerability arises because the shouldBypassProxy() function performs only string matching without resolving IP aliases or loopback equivalents, potentially exposing internal services to proxy interception or manipulation with a CVSS score of 6.8 (high confidentiality impact over changed scope).
RemediationAI
Upgrade Axios to version 1.15.1 or later for the 1.x branch, or to version 0.31.1 or later for the 0.x branch. These versions include the corrected hostname normalization logic that properly resolves IP aliases and loopback addresses against the no_proxy configuration. For applications unable to upgrade immediately, implement a workaround by wrapping Axios HTTP calls with custom IP-to-hostname resolution logic that explicitly normalizes loopback addresses (127.0.0.1, ::1, localhost) to a canonical form before proxy evaluation, though this requires application-level code changes and carries the trade-off of increased latency and maintenance burden. Alternatively, enforce proxy bypass at the network layer (e.g., firewall rules, reverse proxy configuration) rather than relying solely on HTTP client library logic, though this reduces flexibility and may not be feasible in all architectures. Review all no_proxy configurations in use to identify where loopback address bypass is critical; prioritize patching those instances first. Consult https://github.com/axios/axios/security/advisories/GHSA-m7pr-hjqh-92cm for detailed upgrade instructions and confirmation of fix completeness.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Axios is a promise-based HTTP client library for both browser and Node.js environments. The vulnerability exists in the proxy bypass logic that evaluates whether a target hostname should skip proxy routing based on the no_proxy configuration parameter. The root cause is improper hostname normalization (CWE-918, Server-Side Request Forgery) where the shouldBypassProxy() function relies on literal string comparison rather than semantic equivalence. When a developer configures no_proxy=localhost to bypass the proxy for local connections, the function fails to recognize that 127.0.0.1 (IPv4 loopback) and [::1] (IPv6 loopback) are network-layer equivalents of localhost. This is particularly dangerous in Node.js environments where Axios is commonly used in server-side HTTP request libraries for microservice communication, API gateways, and backend integrations.
Know when Axios gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, he fix for no_proxy hostname normalization bypass is incomplete. When no_proxy=localhost is set, requests to 127.0.0.1 and [::1] still route through the proxy instead of bypassing it. The shouldBypassProxy() function does pure string matching - it does not resolve IP aliases or loopback equivalents. This vulnerability is fixed in 1.15.1 and 0.31.1.
Blast Radius
ecosystem impact- 273 npm packages depend on axios (189 direct, 84 indirect)
Ecosystem-wide dependent count for version 1.0.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
NO_PROXY protection bypass in Axios HTTP client (versions 1.0.0-1.15.0 and ≤0.31.0) lets an attacker who controls a requ
JSON response tampering in the Axios HTTP client (versions 1.0.0 up to but not including 1.15.2) lets an attacker who ca
Prototype pollution via the Node.js HTTP adapter in axios allows an attacker who controls `Object.prototype.proxy` to si
axios is a promise based HTTP client for the browser and node.js. Rated high severity (CVSS 7.7), this vulnerability is
Axios is a promise based HTTP client for the browser and Node.js. Rated high severity (CVSS 7.5), this vulnerability is
Axios versions up to 0.30.3 is affected by improper check for unusual or exceptional conditions (CVSS 7.5).
axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative
axios is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerability is
Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to acce
Prototype pollution in Axios HTTP client versions before 1.15.1 and 0.31.1 enables silent interception and modification
Denial of service in Axios HTTP client before versions 1.15.1 and 0.31.1 allows remote unauthenticated attackers to cras
Prototype pollution in Axios library versions prior to 1.15.1 and 0.31.1 allows remote attackers to suppress HTTP error
EUVD-2026-25604
GHSA-m7pr-hjqh-92cm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB