# CVE-2026-9547: SSH improper host validation

- Severity: High 7.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-24T08:00:00.000Z
- Modified: 2026-10-25T01:05:45.818Z
- Also known as: CURL-CVE-2026-9547
- Weaknesses: CWE-297
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: curl

## 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.

(As written by CVE List.)

## Affected

- curl curl: from 7.69.0 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.20.1; from 507cf6a13db0375eadd4655b4c64710db29e9cf2 before 0b8dbbc63c98777e4584cb9fbd71df3464008ad1; 8.20.0; 8.19.0; 8.18.0; 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; and 49 more
- https://github.com/curl/curl.git: from 7.69.0 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.20.1; from 8.21.0 before 8.21.0; from 507cf6a13db0375eadd4655b4c64710db29e9cf2 before 0b8dbbc63c98777e4584cb9fbd71df3464008ad1
- haxx curl: from 7.69.0 before 8.21.0

## Every score

- CISA-ADP: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- curl: rating Low

## References

- <https://hackerone.com/reports/3751712> (exploit, issue-tracking, third-party-advisory)
- <https://curl.se/docs/CVE-2026-9547.json> (vendor-advisory)
- <https://curl.se/docs/CVE-2026-9547.html> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-9547](https://www.cve.org/CVERecord?id=CVE-2026-9547), CVE Terms of Use, modified 2026-09-15
- curl: [CURL-CVE-2026-9547](https://osv.dev/vulnerability/CURL-CVE-2026-9547), MIT, modified 2026-10-25
- NVD: [CVE-2026-9547](https://nvd.nist.gov/vuln/detail/CVE-2026-9547), Public domain, modified 2026-09-15

---

Page: https://cve.day/CVE-2026-9547 · Whole record: https://cve.day/CVE-2026-9547.json · Rebuilt by cve.day 2026-11-25T22:59:27.081Z
