CVE-2026-111951: curl -OJ truncate without filename
路径遍历 / External Control of File Name or Path / #4124849
该报告还没有中文解读。
原文摘录
摘自原文(2892 字符中的一小部分)
Summary: With `-O -J`, when a response carries a `Content-Disposition` header without a usable `filename=` (for example `inline`) before the one that names an existing file, curl truncates that existing file to 0 bytes and then exits 23 saying it refused to overwrite it. This breaks the promise in …
原文中的代码
HTTP/1.1 200 OK Content-Disposition: inline Content-Disposition: attachment; filename="victim" Content-Length: 8 PAYLOAD
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @matty69v · 版权归作者与 curl 所有