CVE Database›Document archive›CVE-2026-86412

CVE-2026-86412

curl: curl: server-set cookie erases cookie jar

Loading…

Severity

Low

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · October 14, 2026

Updated · October 30, 2026

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.

Statement

This vulnerability is rated as having a Low severity impact because exploitation requires specific non-default invocation options and results strictly in a localized loss of session state rather than code execution or unauthorized data access. In standard Red Hat enterprise environments, curl and libcurl do not preserve HTTP state across executions by default, limiting potential exposure to custom workflows or scripts explicitly configured to maintain persistent cookie stores. Furthermore, successful exploitation requires contacting an untrusted remote endpoint that serves an oversized cookie parameter, causing the application to reset the storage file upon its subsequent run. The resulting impact is confined to session disruption without compromising host integrity or system security.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

CWE-754 · Improper Check for Unusual or Exceptional Conditions