CVE-2026-86412 server-set cookie erases cookie jar
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-86412?
CVE-2026-86412 is a high-severity vulnerability in curl, published on 20 Oct 2026.
Official 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.
Weakness: CWE-754
Which versions are affected by CVE-2026-86412?
How do I fix CVE-2026-86412?
Upgrade to a fixed version.
Is CVE-2026-86412 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-86412 exists.
Sources
Also known as ALPINE-CVE-2026-86412, AZL-110166, AZL-110259, BELL-CVE-2026-86412, CURL-CVE-2026-86412, DEBIAN-CVE-2026-86412 and 3 more.