Bug 2554420

Summary: CVE-2026-92390 curl: curl: -J no-clobber guarantee bypassed with 103 early hints [fedora-all]
Product: [Fedora] Fedora Reporter: Rafael Pandini <rpandini>
Component: curlAssignee: Jan Macku <jamacku>
Status: ON_QA --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: ahanwate, jamacku, jmigacz, kdudka, lzaoral, msekleta, paul, vmihalko
Target Milestone: ---Keywords: Reopened, Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["80f3c806-d5a1-4db0-87a2-e2f6c7defaeb"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-12-01 09:03:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2550702    

Description Rafael Pandini 2026-10-16 20:06:10 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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

Project curl Security Advisory, October 14 2026
[Permalink](https://curl.se/docs/CVE-2026-92390.html)

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](https://curl.se/docs/CVE-2020-8177.html)

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!

Comment 1 Jan Macku 2026-12-01 09:03:01 UTC

*** This bug has been marked as a duplicate of bug 2580378 ***

Comment 2 Jan Macku 2026-12-01 14:00:44 UTC
*** Bug 2580378 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2026-12-03 07:59:22 UTC
FEDORA-2026-fe256fcfcd (curl-8.21.0-10.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-fe256fcfcd

Comment 4 Fedora Update System 2026-12-04 02:01:16 UTC
FEDORA-2026-fe256fcfcd has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-fe256fcfcd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-fe256fcfcd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.