# JLSEC-2026-1222: When a libcurl-based application performs transfers via `SCP://` or `SFTP://` and utilizes the ...

- Severity: High 7.4 (CVSS:3.1, scored by Julia Security Advisories) `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
- Published: 2026-08-07T20:11:58.984Z
- Modified: 2026-08-07T20:28:41.519Z
- Related: CVE-2026-9547, EUVD-2026-41495, GHSA-xq9p-gxg6-f7q6

## 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 Julia Security Advisories.)

## Affected

- CURL_jll (Julia): before 8.21.0+0
- LibCURL_jll (Julia): from 7.70.0+0 before 8.21.0+0

## References

- <https://curl.se/docs/CVE-2026-9547.html> (web)
- <https://curl.se/docs/CVE-2026-9547.json> (web)
- <https://github.com/advisories/GHSA-xq9p-gxg6-f7q6> (web)
- <https://hackerone.com/reports/3751712> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-9547> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1222](https://osv.dev/vulnerability/JLSEC-2026-1222), CC-BY-4.0, modified 2026-08-07

---

Page: https://cve.day/JLSEC-2026-1222 · Whole record: https://cve.day/JLSEC-2026-1222.json · Rebuilt by cve.day 2026-11-25T22:56:25.907Z
