Skip to content
CVE PROGRAM SOURCE RECORD8.1 High

CVE-2026-86412

server-set cookie erases cookie jar

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

curl curl

Default version status: unaffected

  • 8.22.0 to ≤ 8.22.0affected
  • 8.21.0 to ≤ 8.21.0affected
  • 8.20.0 to ≤ 8.20.0affected
  • 8.19.0 to ≤ 8.19.0affected
  • 8.18.0 to ≤ 8.18.0affected

References