CVE-2026-144616: Axios before 0.36.0 and 1.22.0 allowAbsoluteUrls Bypass via combineURLs
Axios before 0.36.0 and 1.x before 1.22.0 contains an allowAbsoluteUrls bypass in combineURLs() that allows attackers to redirect browser requests to attacker-chosen hosts using backslash or tab-prefixed paths. Attackers controlling the start of a request path with a slash-only baseURL can send default credential headers such as bearer tokens to their server and return attacker-controlled responses.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.36.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.22.0
Event History
Frequently Asked Questions
Which deployments are most exposed?
Browser-based Axios use is exposed when the application uses a slash-only baseURL and allows an attacker to control the beginning of a request path. The impact is greatest if Axios sends default credential headers, such as bearer tokens, with those requests.
What does an attacker need to exploit this?
The attacker must be able to control the start of a request path and use a backslash- or tab-prefixed path to redirect the request to an attacker-chosen host. Exploitation also requires user interaction.
How can I determine whether my application is affected and remediate it?
Check the installed Axios version and whether browser requests use a slash-only baseURL with attacker-influenced request paths. Upgrade 0.x installations to 0.36.0 or later, or 1.x installations to 1.22.0 or later.