Bug 2497475

Summary: CVE-2026-8926 curl: curl: Information disclosure via incorrect .netrc password lookup [fedora-all]
Product: [Fedora] Fedora Reporter: Jon Moroney <jmoroney>
Component: curlAssignee: Jan Macku <jamacku>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jamacku, jmigacz, kdudka, lzaoral, msekleta, paul, vmihalko
Target Milestone: ---Keywords: Reopened, Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["ed2dc8c0-2497-40f1-b063-4dae1a321fe1"]}
Fixed In Version: curl-8.18.0-8.fc44 curl-8.15.0-8.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-07 01:37:17 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: 2496760    

Description Jon Moroney 2026-07-06 20:23: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.

When asking curl to use a `.netrc` file to find credentials and at the same
time specifying a URL with a username(without a password), like
`https://user@example.com/`, curl could wrongly get and use the password for
*another* user set in the `.netrc` file for that host if such a one exists and
there is no match for the specified user.

Comment 1 Fedora Update System 2026-07-31 12:02:46 UTC
FEDORA-2026-e691fbbfe7 (curl-8.18.0-8.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e691fbbfe7

Comment 2 Fedora Update System 2026-08-01 15:55:53 UTC
FEDORA-2026-e691fbbfe7 has been pushed to the Fedora 44 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-e691fbbfe7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e691fbbfe7

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

Comment 3 Fedora Update System 2026-08-02 00:56:29 UTC
FEDORA-2026-e691fbbfe7 (curl-8.18.0-8.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2026-08-04 08:42:10 UTC
FEDORA-2026-097fb2e7e9 (curl-8.15.0-8.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-097fb2e7e9

Comment 5 Fedora Update System 2026-08-05 01:32:53 UTC
FEDORA-2026-097fb2e7e9 has been pushed to the Fedora 43 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-097fb2e7e9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-097fb2e7e9

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

Comment 6 Fedora Update System 2026-08-07 01:37:17 UTC
FEDORA-2026-097fb2e7e9 (curl-8.15.0-8.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.