REDHAT-BUG-2550702: Low severity curl curl vulnerability

Published Oct 13, 2026
·
Updated

-J no-clobber guarantee bypassed with 103 early hints =====================================================

Project curl Security Advisory, October 14 2026 Permalink

VULNERABILITY -------------

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.

INFO ----

This problem is similar, but not identical, to the previous vulnerability CVE-2020-8177

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2026-92390 to this issue.

CWE-73: External Control of File Name or Path

Severity: Low

This bug is not considered a C mistake (likely to have been avoided had we not been using C).

AFFECTED VERSIONS -----------------

- Affected versions: curl 7.20.0 to and including 8.22.0 - Not affected versions: curl < 7.20.0 and >= 8.23.0 - Introduced-in: https://github.com/curl/curl/commit/80675818e0417b

curl is used by many applications, but not always advertised as such!

This flaw only affects the curl command line tool, not libcurl.

SOLUTION --------

- Fixed-in: https://github.com/curl/curl/commit/c24a69d8cd368de4e25e35

RECOMMENDATIONS ---------------

A - Upgrade curl to version 8.23.0

B - Apply the patch to your local version

C - Avoid using the -J option

TIMELINE --------

This issue was reported to the curl project on September 12, 2026.

curl 8.23.0 was released on October 14, 2026, coordinated with the publication of this advisory.

CREDITS -------

- Reported-by: Joshua Rogers (Aisle Research) - Patched-by: Joshua Rogers (Aisle Research)

Thanks a lot!

Affected Software

1 affected component
curl curl>=7.20.0<=8.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 8.23.0
  2. Compensating control

    Avoid using the curl command-line `-J` (`--remote-header-name`) option.

Event History

Oct 13, 2026
Data Sourced
via Red Hat·05:23 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Users or automated workflows that invoke curl with --remote-header-name (-J) against an HTTP(S) server are exposed when that server can control the Content-Disposition filename. The overwrite bypass requires either an intermediate 103 Early Hints response before the final response, or ETag processing before Content-Disposition when --etag-save is used.

2

What does an attacker need to exploit the vulnerability?

An attacker needs to control, or be able to influence responses from, the HTTP(S) server contacted by curl. They must cause curl to receive a Content-Disposition header naming an existing local file and trigger one of the described response-processing conditions.

3

Are all curl versions affected?

No. The advisory identifies curl versions 7.20.0 through 8.22.0, inclusive, as affected.

4

What is the practical impact?

A malicious or compromised server can cause curl to overwrite an existing local file selected through the Content-Disposition header, despite the documented no-clobber behavior associated with -J.

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