JLSEC-2026-1650: An `ftp://` transfer configured with `CURLUSESSL_NONE` can reuse a pooled FTP control connection...
An ftp:// transfer configured with CURLUSESSLNONE can reuse a pooled FTP control connection that a previous easy handle upgraded with STARTTLS and authenticated using a client certificate. The second handle performs neither a new TLS handshake nor a new FTP login, so the server continues to authorize it under the first handle's certificate identity.
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 when they reuse FTP control connections across easy handles, where an earlier handle upgraded the connection with STARTTLS and authenticated with a client certificate, and a later ftp:// transfer is configured with CURLUSESSL_NONE.
What must happen for exploitation to occur?
A pooled FTP control connection must first be upgraded with STARTTLS and authenticated using a client certificate. A second easy handle must then reuse that connection while configured with CURLUSESSL_NONE; it does not perform a new TLS handshake or FTP login and inherits the earlier certificate identity.
What is the security impact of a successful reuse?
The FTP server continues to authorize the later transfer under the client-certificate identity used by the earlier handle. This can allow the later transfer to access or modify data with that prior identity's permissions.
Is a transfer using CURLUSESSL_NONE safe if it is expected to use a non-TLS FTP connection?
Not when it can reuse a pooled control connection previously upgraded with STARTTLS and authenticated by client certificate. In that case, CURLUSESSL_NONE does not force a new handshake or login.
What can be done if patching is not immediately possible?
Avoid reusing FTP control connections between handles with different TLS or authentication expectations. In particular, isolate or disable pooling for transfers that use client-certificate STARTTLS authentication and transfers configured with CURLUSESSL_NONE.