CVE-2026-94266: password leak in CURLINFO_EFFECTIVE_URL
该报告还没有中文解读。
原文摘录
摘自原文(4896 字符中的一小部分)
A `.netrc`-sourced password, injected into the live URL handle at login time, survives an ordinary same-host relative `Location:` redirect and ends up verbatim in `data->state.url`, so it is exposed via `CURLINFO_EFFECTIVE_URL`, `curl -w '%{url_effective}'`, and verbose (`-v`) output.原文中的代码
result = Curl_creds_merge(ncreds_out->user, ncreds_out->passwd,
*pcreds, CREDS_NETRC, pcreds);
if(result)
goto out;
/* for updated strings, we update them in the URL */
uc = curl_url_set(data->state.uh, CURLUPART_USER, …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有