Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-jm94-9f7h-36pr

0
High
Published: 07/03/2026 (07/03/2026, 09:31:26 UTC)
Source: GCVE Database

Description

A vulnerability in curl occurs when a schemeless URL is used with the --proto-default option set to sftp or scp. The curl tool layer incorrectly infers the URL scheme and skips initializing critical SSH security options, such as host public key verification and known hosts checking. Although libcurl correctly uses the default protocol and connects via SFTP/SCP, the missing security configuration causes curl to connect to an unverified SSH host without error notification.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/03/2026, 23:03:17 UTC

Technical Analysis

This vulnerability (CVE-2026-12064) arises from a disconnect between the curl tool layer and libcurl when a schemeless URL is combined with the --proto-default option set to sftp or scp. The tool layer erroneously infers the URL scheme and omits initializing SSH security options like CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 and CURLOPT_SSH_KNOWNHOSTS. Meanwhile, libcurl honors CURLOPT_DEFAULT_PROTOCOL and establishes the connection using SFTP/SCP as intended. The omission of SSH host verification options by the tool layer results in curl connecting to an SSH remote host without verifying its identity and without raising an error, potentially allowing undetected connections to untrusted hosts.

Potential Impact

The impact is that curl may silently connect to an unverified SSH remote host when using schemeless URLs with --proto-default sftp or scp. This bypasses SSH host verification mechanisms, increasing the risk of man-in-the-middle attacks or connections to malicious servers without user awareness.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid using schemeless URLs combined with --proto-default sftp or scp in curl to prevent bypassing SSH host verification. Explicitly specifying the URL scheme or avoiding the --proto-default option in these contexts may reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-jm94-9f7h-36pr
Osv Schema Version
1.4.0
Aliases
["CVE-2026-12064"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a483cb527e9c79719d820cf

Added to database: 07/03/2026, 22:50:29 UTC

Last enriched: 07/03/2026, 23:03:17 UTC

Last updated: 07/04/2026, 01:54:15 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses