JLSEC-2026-1667: When processing an HTTP redirect to a URL containing userinfo (a `username:password` component),...
When processing an HTTP redirect to a URL containing userinfo (a username:password component), curl might erroneously retain and re-transmit the original host's HTTP Negotiate authentication state. Consequently, a malicious server can trigger a redirect containing arbitrary userinfo to force curl to send a freshly minted Kerberos ticket—generated using the ambient identity of the client process to an untrusted third-party host, effectively bypassing the domain-scoping restrictions normally enforced by the absence of --location-trusted.
Only builds with HTTP Negotiate support are affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/LibCURL_jllto a version that resolves this vulnerability.Fixed in 8.23.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are actually exposed?
Only builds with HTTP Negotiate support are affected. Exposure requires curl to process an HTTP redirect from a malicious server to an untrusted third-party URL containing a userinfo component.
What does an attacker need to do to exploit this?
An attacker needs to operate or control a server that can cause curl to receive a redirect. The redirect must point to an arbitrary third-party host and include username:password userinfo, causing curl to potentially send a newly generated Kerberos ticket based on the client process's ambient identity.
Does avoiding --location-trusted prevent this issue?
No. The described behavior bypasses the domain-scoping restrictions that would normally apply when --location-trusted is absent.