Bug 2497524 - CVE-2026-12064 curl: curl: SSH host verification bypass when using schemeless URLs with SFTP/SCP [fedora-all]
Summary: CVE-2026-12064 curl: curl: SSH host verification bypass when using schemeless...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jan Macku
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["cafb0539-8971-48eb-a873-6...
Depends On:
Blocks: CVE-2026-12064
TreeView+ depends on / blocked
 
Reported: 2026-07-06 21:52 UTC by Jon Moroney
Modified: 2026-09-23 03:19 UTC (History)
7 users (show)

Fixed In Version: curl-8.15.0-9.fc43
Clone Of:
Environment:
Last Closed: 2026-08-31 17:03:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jon Moroney 2026-07-06 21:52:35 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 a user invokes curl using a schemeless URL combined with
`--proto-default` sftp (or scp), a disconnect occurs between the tool layer
and libcurl. The tool layer incorrectly infers the URL scheme, which
erroneously bypasses the initialization of critical SSH security options like
CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 and CURLOPT_SSH_KNOWNHOSTS. Conversely, the
libcurl runtime successfully honors CURLOPT_DEFAULT_PROTOCOL and establishes
the connection via SFTP/SCP as specified. Because the tool layer skipped the
security configuration, these SSH host verification options are silently
omitted, causing curl to connect to an unverified SSH remote host without
throwing an error.

Comment 1 Aoife Moloney 2026-08-17 15:15:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 2 Fedora Update System 2026-08-25 08:52:32 UTC
FEDORA-2026-2f88b83676 (curl-8.18.0-9.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-2f88b83676

Comment 3 Fedora Update System 2026-08-26 02:01:44 UTC
FEDORA-2026-2f88b83676 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-2f88b83676`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-2f88b83676

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

Comment 4 Fedora Update System 2026-08-27 00:55:20 UTC
FEDORA-2026-2f88b83676 (curl-8.18.0-9.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-08-27 16:18:40 UTC
FEDORA-2026-f903f9ff11 (curl-8.15.0-9.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f903f9ff11

Comment 6 Fedora Update System 2026-08-28 01:37:09 UTC
FEDORA-2026-f903f9ff11 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-f903f9ff11`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f903f9ff11

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

Comment 7 Fedora Update System 2026-08-31 17:03:27 UTC
FEDORA-2026-f903f9ff11 (curl-8.15.0-9.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.