CVE-2026-9547: SSH improper host validation

Published Jul 3, 2026
·
Updated

Last updated 2 July 2026

Other sources

When a libcurl-based application performs transfers via SCP:// or SFTP:// and utilizes the CURLOPTSSHKEYFUNCTION callback, it may silently accept an untrusted server. This vulnerability occurs when a server presents a host key type that does not match the specific key type already recorded for that host in the knownhosts file. Instead of rejecting the mismatch, the callback mechanism fails to properly enforce the restriction, allowing the connection to succeed without warning and risking a potential man-in-the-middle attack.

MITRE

Affected Software

2 affected componentsFixes available
debian/curl<=7.74.0-1.3+deb11u13, <=7.74.0-1.3+deb11u16, <=7.88.1-10+deb12u14, <=7.88.1-10+deb12u5, <=8.14.1-2+deb13u3, <=8.20.0-5
8.21.0-2
haxx curl>=7.69.0<8.21.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.21.0-2
  2. Compensating control

    Use an external network control to prevent man-in-the-middle risk until proper SSH host key validation is enforced in the libcurl-based SCP/SFTP client (e.g., restrict allowed SSH/SFTP destinations via firewall/ACL to only the expected hosts).

Event History

Jul 1, 2026
Data Sourced
via Debian·03:07 AM
DescriptionAffected Software
Jul 3, 2026
Data Sourced
via Ubuntu·03:08 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·06:18 AM
Data Sourced
via MITRE·06:18 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
RemedyDescriptionSeverityAffected Software
Apr 11, 58531
Event
via FIRST·08:14 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9547?

CVE-2026-9547 has a risk score of 21, indicating a significant vulnerability.

2

How does CVE-2026-9547 affect SSH connections?

CVE-2026-9547 allows libcurl-based applications to potentially accept untrusted servers when using `SCP://` or `SFTP://` with a specific SSH key validation flaw.

3

What software is impacted by CVE-2026-9547?

CVE-2026-9547 impacts applications that utilize the libcurl library, specifically versions used in Debian and related systems.

4

How can I mitigate the risk of CVE-2026-9547?

To mitigate CVE-2026-9547, ensure that you are using the latest version of libcurl and implement proper host key verification.

5

When was CVE-2026-9547 published?

CVE-2026-9547 was published on July 3, 2026.

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