npm
CVE-2026-44486
Axios: Proxy-Authorization header leaks to redirect target when proxy is re-evaluated to direct connection
- Severity
- High 7.5
- Published
- 4 Jun 2026
- Last changed
- 10 Sept 2026
- Added to UpHeron
- 22 Oct 2026
- Fixed in
- 0.32.0, 1.16.0
- Exploit chance
- 0.6% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Information exposure (CWE-200)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-j5f8-grm9-p9fc
- Sources
- OSV.dev and GitHub
Description
Axios’ Node.js HTTP adapter can leak proxy credentials to a redirect target in affected versions. When a request is sent through an authenticated proxy, Axios may add a Proxy-Authorization header. If Axios then follows a redirect and the redirected request is no longer sent through that proxy, the stale Proxy-Authorization header can remain on the redirected request and be sent to the redirect target.
This affects Node.js's use of Axios with automatic redirects enabled and an authenticated proxy configuration. Browser adapters are not affected.
An attacker who controls a server that the victim application requests can redirect the request so that the attacker-controlled redirect target receives the victim’s proxy credentials.
The most relevant case is a Node.js application using an authenticated HTTP_PROXY for an initial http:// request, with redirects enabled, where the redirect target resolves to no proxy, such as an https:// URL when HTTPS_PROXY is unset.
Workarounds
Set maxRedirects: 0 and handle redirects manually.
Avoid using authenticated proxy environment variables for requests to untrusted HTTP origins unless redirect behaviour is controlled.
Ensure proxy environment variables are configured consistently across protocols so redirects do not unexpectedly change from proxied to direct connections.
Original Source
Affected software
| Software | Affected versions |
|---|---|
axiosnpm · osv:npm:axios |
|
About axios
- Weekly downloads (npm)
- 143,624,637npm, 16 Nov 2026
Vulnerabilities in axios
- In our list
- 35
- Published in the last 12 months
- 35
- Critical, last 12 months
- 0
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-101904Axios: Header Injection via Inherited headers After Minimal InterceptorMedium 30 Sept 2026
- CVE-2026-101900Axios: Fetch Adapter Header Injection via Inherited FormData getHeadersMedium 30 Sept 2026
- CVE-2026-101908Axios: Prototype pollution gadget in fetch adapter can alter outbound requestsMedium 30 Sept 2026
- CVE-2026-101902Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP MethodMedium 30 Sept 2026
- CVE-2026-101898Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controlsHigh 30 Sept 2026
- CVE-2026-101901Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session InitializationHigh 30 Sept 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-44486
- GitHub Advisory Database https://github.com/advisories/GHSA-j5f8-grm9-p9fc