CVE-2026-3783: token leak with redirect and netrc
信息泄露 / Information Exposure Through Sent Data / #3583983
该报告还没有中文解读。
原文摘录
摘自原文(6528 字符中的一小部分)
Summary When `--oauth2-bearer` is used with `--netrc` and curl follows a redirect, the bearer token leaks to the redirect target. The netrc bypass at `http.c:822` skips `Curl_auth_allowed_to_host()`, allowing the token through. This is an incomplete fix for CVE-2025-14524 — the Dec 2025 SASL fix …
原文中的代码
if(Curl_auth_allowed_to_host(data)
#ifndef CURL_DISABLE_NETRC
|| conn->bits.netrc // <-- bypasses host check entirely
#endif
)
result = output_auth_headers(data, conn, authhost, request, path, FALSE);默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @spectreglobalsec · 版权归作者与 curl 所有