CVE-2026-12064: proto-default skips SSH verification
该报告还没有中文解读。
原文摘录
摘自原文(7388 字符中的一小部分)
When a user invokes curl with a schemeless URL and `--proto-default sftp` (or `scp`), the tool layer guesses the URL is HTTP and skips setting SSH security options (`CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256`, `CURLOPT_SSH_KNOWNHOSTS`). However libcurl's runtime correctly applies `--proto-default` and …
原文中的代码
// src/config2setopts.c:190 if(use_proto != proto_scp && use_proto != proto_sftp) return CURLE_OK; // skips setting CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256, CURLOPT_SSH_KNOWNHOSTS, etc.
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @alienowo · 版权归作者与 curl 所有