CVE-2026-44492
JSON

8.6high

Axios: shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)

Severity
8.6high CVSS:3.1 by GitHub_M
Exploit likelihood
12.3% (higher than 96% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pjwm-pj3p-43mv

Description

Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios 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. This vulnerability is fixed in 0.32.0 and 1.16.0.

Affected

Product or packageVersionsReported by
axios axios>= 1.0.0, < 1.16.0, < 0.32.0, before 0.32.0, from 1.0.0 before 1.16.0CVE List, NVD
axiosNot specifiedCVE List
automation-gatewayNot specified
Not affected: from 0:2.5.20260715-1.el8ap before *, from 0:2.5.20260715-1.el9ap before *
CVE List
multicluster-engine/console-mce-rhel9Not specified
Not affected: from 1784312384 before *, from 1783351002 before *, from 1782157085 before *, from 1783348181 before *
CVE List
rhacm2/console-rhel9Not specified
Not affected: from 1783350952 before *, from 1782157514 before *, from 1783451729 before *, from 1784578812 before *, from 1786908361 before *
CVE List
advanced-cluster-security/rhacs-main-rhel8Not specified
Not affected: from 1779371594 before *, from 1779293013 before *
CVE List
ansible-automation-platform-27/gateway-rhel9Not specified
Not affected: from 1783919486 before *
CVE List
container-native-virtualization/kubevirt-console-plugin-rhel9Not specified
Not affected: from 1782426816 before *, from 1782356760 before *
CVE List
rhdh/rhdh-hub-rhel9Not specified
Not affected: from 1783448184 before *, from 1782761244 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1782166952 before *
CVE List
rhmtc/openshift-migration-ui-rhel8Not specified
Not affected: from 1783690532 before *
CVE List
mta/mta-ui-rhel9Not specified
Not affected: from 1785169013 before *
CVE List

All scores

GitHub_M8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
redhat-SADP8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
GitHub8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Classification

CWE-289CWE-918

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios 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. This vulnerability is fixed in 0.32.0 and 1.16.0.

GitHub Advisory Database
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.

References

https://github.com/axios/axios/security/advisories/GHSA-pjwm-pj3p-43mvexploit, mitigation, vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-44492vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2487938issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44492.jsonweb
https://access.redhat.com/errata/RHSA-2026:42078vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66545vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66488vendor-advisory
https://access.redhat.com/errata/RHSA-2026:41064vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:30651vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:36882vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:46903vendor-advisory
https://access.redhat.com/errata/RHSA-2026:57191vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-44492 changed 2026-09-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-pjwm-pj3p-43mv changed 2026-09-10CC-BY-4.0
NVDCVE-2026-44492 changed 2026-09-11Public domain