All reports
Low

curl: curl: server-set cookie erases cookie jar

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-86412

Probability of exploitation in the next 30 days: 0.83%

FIRST EPSS · 2026-11-19

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.