CVE-2026-9547
Description
When a libcurl-based application performs transfers via `SCP://` or `SFTP://` and utilizes the `CURLOPT_SSH_KEYFUNCTION` 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 `known_hosts` 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.
Severity
HIGH
CVSS v3
7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N · source adp
Exploit chance (EPSS)
0.361%
chance of exploitation in the next 30 days
higher than 30.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-297: Improper Validation of Certificate with Host Mismatch
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-07-06 |
Timeline
- 2026-07-03Published by the CNA06:18 UTC
- 2026-07-06CISA SSVC decision recorded3 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| haxx curl | from 7.69.0 before 8.21.0fixed in 8.21.0 | 8.21.0 |
References
- https://curl.se/docs/CVE-2026-9547.html
- https://curl.se/docs/CVE-2026-9547.json
- https://hackerone.com/reports/3751712
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-9547'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-9547'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-9547'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-9547'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).