CVE-2026-44492 — Vulnerability in axios — CVE Details
axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.78%). Schedule for your next planned update.
Does your project use an affected axios version?
Paste your package-lock.json to check it for CVE-2026-44492 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
shouldBypassProxy, introduced in v1.15.0 to fix CVE-2025-62718, does not normalise IPv4-mapped IPv6 addresses. When NO_PROXY lists an IPv4 address such as 127.0.0.1 or 169.254.169.254, a request URL using the IPv4-mapped IPv6 form (::ffff:7f00:1, ::ffff:a9fe:a9fe) still routes through the configured proxy. Node.js resolves these addresses to the underlying IPv4 host, so the request reaches the internal service via the proxy rather than being blocked.
Details
lib/helpers/shouldBypassProxy.js (v1.15.0):
const LOOPBACK_ADDRESSES = new Set(['localhost', '127.0.0.1', '::1']);
const isLoopback = (host) => LOOPBACK_ADDRESSES.has(host);
// normalizeNoProxyHost strips brackets and trailing dots, but not ::ffff: prefix
return hostname === entryHost || (isLoopback(hostname) && isLoopback(entryHost));
The WHATWG URL parser canonicalises http://[::ffff:127.0.0.1]/ to hostname [::ffff:7f00:1]. After bracket-stripping: ::ffff:7f00:1. This string does not match 127.0.0.1 in NO_PROXY and is not in LOOPBACK_ADDRESSES, so shouldBypassProxy returns false and the proxy is used. proxy-from-env (called before shouldBypassProxy) has the same gap - it does not equate ::ffff:7f00:1 with 127.0.0.1 - so neither layer catches the bypass.
PoC
// NO_PROXY=127.0.0.1,localhost,::1 HTTP_PROXY=http://attacker:8080
import shouldBypassProxy from 'axios/lib/helpers/shouldBypassProxy.js';
// All three should return true (bypass proxy). Only the first two do.
console.log(shouldBypassProxy('http://127.0.0.1/')); // true [OK]
console.log(shouldBypassProxy('http://[::1]/')); // true [OK]
console.log(shouldBypassProxy('http://[::ffff:127.0.0.1]/')); // false <- bypass
console.log(shouldBypassProxy('http://[::ffff:7f00:1]/')); // false <- bypass
Node.js routes ::ffff:7f00:1 to 127.0.0.1:
// net.connect({ host: '::ffff:7f00:1', port: 80 }) reaches a service
// bound to 127.0.0.1:80 — confirmed on Node.js v24, Linux and macOS.
Cloud metadata SSRF: ::ffff:a9fe:a9fe = ::ffff:169.254.169.254. If NO_PROXY=169.254.169.254 is set to block IMDS access, a request to http://[::ffff:a9fe:a9fe]/latest/meta-data/ bypasses it.
Fix
Canonicalise IPv4-mapped IPv6 in normalizeNoProxyHost before any comparison:
const ipv4MappedDotted = /^::ffff:(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/i;
const ipv4MappedHex = /^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i;
function hexToIPv4(a, b) {
const hi = parseInt(a, 16), lo = parseInt(b, 16);
return `${hi >> 8}.${hi & 0xff}.${lo >> 8}.${lo & 0xff}`;
}
const normalizeNoProxyHost = (hostname) => {
if (!hostname) return hostname;
if (hostname[0] === '[' && hostname.at(-1) === ']')
hostname = hostname.slice(1, -1);
hostname = hostname.replace(/\.+$/, '').toLowerCase();
let m;
if ((m = hostname.match(ipv4MappedDotted))) return m[1];
if ((m = hostname.match(ipv4MappedHex))) return hexToIPv4(m[1], m[2]);
return hostname;
};
Impact
Any application that sets NO_PROXY to exclude internal or metadata endpoints and uses an HTTP/HTTPS proxy can have those exclusions bypassed by a URL using IPv4-mapped IPv6 notation. The attacker must control the request URL. In cloud environments with instance metadata services, this can lead to credential exfiltration.
Advisory Timeline
- First published May 29, 2026 (181 days ago).
- Last revised September 10, 2026 — 103 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install axios@1.16.0
npm install axios@0.32.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-289
- CWE-918Server-Side Request Forgery (SSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/axios/axios/security/advisories/GHSA-pjwm-pj3p-43mvWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44492ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-62718ADVISORY
- https://access.redhat.com/errata/RHSA-2026:36611WEB
- https://access.redhat.com/errata/RHSA-2026:36754WEB
- https://access.redhat.com/errata/RHSA-2026:36820WEB
- https://access.redhat.com/errata/RHSA-2026:36882WEB
- https://access.redhat.com/errata/RHSA-2026:36883WEB
- https://access.redhat.com/errata/RHSA-2026:40119WEB
- https://access.redhat.com/errata/RHSA-2026:40138WEB
- https://access.redhat.com/errata/RHSA-2026:40262WEB
- https://access.redhat.com/errata/RHSA-2026:41031WEB
- https://access.redhat.com/errata/RHSA-2026:41055WEB
- https://access.redhat.com/errata/RHSA-2026:41064WEB
- https://access.redhat.com/errata/RHSA-2026:41066WEB
- https://access.redhat.com/security/cve/CVE-2026-44492WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2487938WEB
- https://github.com/axios/axiosPACKAGE
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44492.jsonWEB
- https://access.redhat.com/errata/RHSA-2026:20889WEB
- https://access.redhat.com/errata/RHSA-2026:20938WEB
- https://access.redhat.com/errata/RHSA-2026:26234WEB
- https://access.redhat.com/errata/RHSA-2026:27044WEB
- https://access.redhat.com/errata/RHSA-2026:27063WEB
- https://access.redhat.com/errata/RHSA-2026:28964WEB
- https://access.redhat.com/errata/RHSA-2026:29082WEB
- https://access.redhat.com/errata/RHSA-2026:29197WEB
- https://access.redhat.com/errata/RHSA-2026:30650WEB
- https://access.redhat.com/errata/RHSA-2026:30651WEB
- https://access.redhat.com/errata/RHSA-2026:33005WEB
- https://access.redhat.com/errata/RHSA-2026:33155WEB
- https://access.redhat.com/errata/RHSA-2026:33160WEB
- https://access.redhat.com/errata/RHSA-2026:33163WEB
- https://access.redhat.com/errata/RHSA-2026:33173WEB
- https://access.redhat.com/errata/RHSA-2026:33183WEB
- https://access.redhat.com/errata/RHSA-2026:33574WEB
- https://access.redhat.com/errata/RHSA-2026:34766WEB
- https://access.redhat.com/errata/RHSA-2026:36108WEB
Frequently Asked Questions
- What is CVE-2026-44492?
- axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718). This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-44492?
- CVE-2026-44492 affects axios. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44492 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 52.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-42035HIGH
Axios: Header Injection via Prototype Pollution
- CVE-2026-44488HIGH
Allocation of Resources Without Limits or Throttling in Axios
- CVE-2026-101909HIGH
Axios: Prototype Pollution Gadget in axios toFormData Options
- CVE-2026-42039MEDIUM
Axios: unbounded recursion in toFormData causes DoS via deeply nested request data
- CVE-2026-67319MEDIUM
Axios: Nested axios option objects can consume polluted prototype values
- CVE-2023-45857MEDIUM
Axios Cross-Site Request Forgery Vulnerability
- CVE-2026-67314MEDIUM
Axios: Prototype pollution auth subfields can inject Basic auth
- CVE-2026-42040LOW
Axios: Null Byte Injection via Reverse-Encoding in AxiosURLSearchParams