Vulnerabilities/

Axios: Proxy-Authorization Credential Leak to Origin Server Across HTTP-to-HTTPS Redirect in Axios Node.js HTTP Adapter

Severity:
High

Description

Axios’s Node.js HTTP adapter may forward a Proxy-Authorization header to a redirected origin during specific proxy-to-direct redirect flows.

This affects Node.js usage, where an initial HTTP request is sent through an authenticated HTTP proxy, redirects are followed, and the redirected URL is no longer proxied.

Recommendation

Update the axios package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
axios
Anything's wrong? Let us know Last updated on June 12, 2026