published 20 Oct 2026 · updated 29 Oct 2026
server-set cookie erases cookie jar
8.1HighCVSS 8.1EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.
A remote HTTP server can set a cookie that curl accepts and writes to a Netscape cookie jar but cannot reload. On the next invocation using the same path for `--cookie` and `--cookie-jar`, curl fails before connecting, then the cleanup procedure replaces the jar with an empty file, deleting cookies for unrelated domains.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| curl | >=8.18.0 <=8.18.0, >=8.19.0 <=8.19.0, >=8.20.0 <=8.20.0, >=8.21.0 <=8.21.0, >=8.22.0 <=8.22.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket