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.

— NVD

Affected Software

5 affected componentsFixes available
haxx curl>=7.69.0<8.21.0
IBM Observability with Instana (Agent)<=Build 1.0.303 to 1.0.323
debian/curl<=7.88.1-10+deb12u15, <=7.88.1-10+deb12u5, <=8.14.1-2+deb13u7
8.21.0~rc2-1
All of the following
azurelinux/curl<0:8.15.0-15.azl4
0:8.15.0-15.azl4
Microsoft Azure Linux=4.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~rc2-1
  2. Upgrade

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

    Fixed in 0:8.15.0-15.azl4

Event History

Jul 3, 2026
CVE Published
via MITRE·06:18 AM
Data Sourced
via MITRE·06:18 AM
DescriptionWeakness
Data Sourced
via OSV·06:18 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 AM
Description
Jul 4, 2026
Data Sourced
via Microsoft·08:05 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:05 AM
Affected Software
Jul 6, 2026
Data Sourced
via NVD·06:20 PM
Severity
Jul 7, 2026
Data Sourced
via NVD·02:52 PM
RemedyAffected Software
Sep 2, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 15, 2026
Data Sourced
via NVD·07:16 AM
Weakness
Sep 24, 2026
Event
via FIRST·12:00 AM

Parent advisories

This vulnerability appears in the following advisories.

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