server-set cookie erases cookie jar
Impact
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.
Source excerpt · curlAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
curl · curl
curl
5 ranges
curl · curl
curl
Compare with this publisher’s ranges. This does not inspect your installation.
affected
8.22.0 → through 8.22.0
semver versions
8.21.0 → through 8.21.0
semver versions
8.20.0 → through 8.20.0
semver versions
8.19.0 → through 8.19.0
semver versions
8.18.0 → through 8.18.0
semver versions
Other versions: unaffected
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-86412View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.