CVE-2026-86412
Discovered by AISLEPUBLISHEDCWE-754 Improper Check for Unusual or Exceptional Conditions
Description
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.
CVSS Base Scores
CVSS v3.1(Primary)
4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Affected Products
| Vendor | Product | Version | Status |
|---|---|---|---|
| curl | curl | 8.22.0 | affected |
| curl | curl | 8.21.0 | affected |
| curl | curl | 8.20.0 | affected |
| curl | curl | 8.19.0 | affected |
| curl | curl | 8.18.0 | affected |
Credits
- Stanislav Fort (Aisle Research)(finder)
- Daniel Stenberg(remediation developer)


