CVE-2026-86412

server-set cookie erases cookie jar

State
Published
Severity
8.1 High
Published
Oct 20, 2026
Updated
Oct 29, 2026
Reserved
Sep 7, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-754 Improper Check for Unusual or Exceptional Conditions

Affected Products

ProductVersions
curlcurl
  • 8.22.0 through 8.22.0Affected
  • 8.21.0 through 8.21.0Affected
  • 8.20.0 through 8.20.0Affected
  • 8.19.0 through 8.19.0Affected
  • 8.18.0 through 8.18.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.