POJIA破甲
地图 / CVE-2026-86410: redirect to SFTP or SCP bypasses host verification

CVE-2026-86410: redirect to SFTP or SCP bypasses host verification

密码学缺陷 / Improper Validation of Certificate with Host Mismatch / #3973176

厂商
curl
严重程度
未评级
赏金
—
弱点
Improper Validation of Certificate with Host Mismatch
研究员
@giant_anteater
披露日期
2026-10-14
资产
https://github.com/curl/curl
CVE
CVE-2026-12064CVE-2026-86410

该报告还没有中文解读。

原文摘录

摘自原文(5440 字符中的一小部分)
`ssh_setopts()` in `src/config2setopts.c` returns immediately when the initial URL is not SCP or SFTP. This means `--knownhosts`, `--hostpubsha256`, and `--hostpubmd5` are never installed on the easy handle when the initial URL is HTTPS. If `--location --proto-redir +sftp` is used and the server …
原文中的代码
if(use_proto != proto_scp && use_proto != proto_sftp)
  return CURLE_OK;

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有

同类报告

CVE-2025-4947: QUIC certificate check skip with wolfSSLcurl · 2025-05-28mbedTLS / wolfSSL / rustls backends silently skip hostname verification when CURLOPT_SSL_VERIFYPEER=0curl · 2026-06-26CVE-2025-15079: libssh global knownhost overridecurl · 2026-01-07CVE-2024-2466: TLS certificate check bypass with mbedTLScurl · 2024-03-27wolfSSL backend disables hostname verification when CURLOPT_SSL_VERIFYPEER is 0curl · 2026-08-24SSH (SCP/SFTP) host-key verification is skipped on connection reuse — a pinned/known_hosts transfer silently reuses a previously-unverified connectioncurl · 2026-10-20