JLSEC-2026-1664: When invoked with `--remote-header-name` (`-J`), curl fails to preserve its documented anti...

Published Dec 1, 2026
·
Updated

When invoked with --remote-header-name (-J), curl fails to preserve its documented anti-clobbering protection if an intermediate 103 Early Hints response precedes the final HTTP response, or if an ETag header is processed before Content-Disposition under --etag-save. This flaw allows an HTTP(S) server to overwrite an existing local file specified in the Content-Disposition header despite the presence of the -J non-overwrite constraint.

This affects the curl executable, not the libcurl API. LibCURLjll bundled the executable through 7.81.0+0; starting with 7.81.0+1 its build removes the executable and ships it separately in CURLjll.

Affected Software

2 affected componentsFixes available
julia/curl_jll*
julia/libcurl_jll<7.81.0+1
7.81.0+1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/LibCURL_jll to a version that resolves this vulnerability.

    Fixed in 7.81.0+1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.81.0+1

Event History

Dec 1, 2026
Advisory Published
via OSV·03:35 PM
Data Sourced
via OSV·03:35 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Only use of the curl executable is affected; the libcurl API is not. In the listed Julia packages, LibCURL_jll bundled the executable through 7.81.0+0, while 7.81.0+1 and later remove it from that package and ship it separately in CURL_jll.

2

What conditions must a server control to overwrite a local file?

The curl invocation must use --remote-header-name (-J), and the server must supply a Content-Disposition filename matching an existing local file. The bypass occurs when an intermediate 103 Early Hints response precedes the final response, or when an ETag is processed before Content-Disposition while --etag-save is in use.

3

What can be done if updating is not immediately possible?

Avoid using -J against untrusted HTTP(S) servers, particularly together with --etag-save. Do not rely on -J alone to prevent overwriting existing files when processing responses that can include 103 Early Hints or attacker-controlled ETag and Content-Disposition headers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203