JLSEC-2026-1648: Setting `CURLOPT_AWS_SIGV4` to NULL but does not disable SigV4 authentication, contrary to...
Setting CURLOPTAWSSIGV4 to NULL but does not disable SigV4 authentication, contrary to expectations and documentation. A subsequent transfer on the same handle still sends an Authorization: AWS4-HMAC-SHA256 header to whatever URL isset next, leaking state information.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/CURL_jllto a version that resolves this vulnerability.Fixed in 8.22.0+0 - Upgrade
Upgrade
julia/LibCURL_jllto a version that resolves this vulnerability.Fixed in 8.22.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Applications using julia/curl_jll or julia/libcurl_jll are exposed if they reuse a transfer handle after enabling AWS SigV4 and then set CURLOPT_AWS_SIGV4 to NULL before sending that handle to another URL.
What must an attacker be able to do to exploit this?
An attacker would need the application to make a subsequent transfer, using the same handle, to a URL under the attacker’s control or otherwise untrusted destination. The stale AWS4-HMAC-SHA256 Authorization header is then sent to that URL.
Is the default configuration affected?
The issue requires a specific handle-reuse sequence: AWS SigV4 must first be configured, then CURLOPT_AWS_SIGV4 must be set to NULL, followed by another transfer on the same handle. The provided information does not indicate that a fresh handle with no prior SigV4 configuration is affected.
How can I determine whether an application is affected?
Review code and transfer logs for reused curl handles that set CURLOPT_AWS_SIGV4 to NULL and subsequently access a different URL. An affected transfer will still include an Authorization header beginning with AWS4-HMAC-SHA256.