CVE-2026-86412
Awaiting Analysis Awaiting Analysis - Queue

Cookie Jar Deletion in curl HTTP Client

Vulnerability report for CVE-2026-86412, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-10-29

Assigner: curl

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-10-29
Generated
2026-11-10
AI Q&A
2026-10-20
EPSS Evaluated
2026-11-08
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
curl curl 8.22.0
curl curl 8.21.0
curl curl 8.20.0
curl curl 8.19.0
curl curl 8.18.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-754 The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability allows a remote HTTP server to set a cookie that curl accepts and stores in a Netscape cookie jar. When curl tries to reload the cookie jar in later uses with the same paths for --cookie and --cookie-jar, it fails to connect and triggers a cleanup. This cleanup incorrectly replaces the entire cookie jar with an empty file, deleting cookies for unrelated domains.

Detection Guidance

To detect this vulnerability, check if your system is running a vulnerable version of curl (8.18.0 to 8.22.0). Run 'curl --version' to verify the installed version. If the version falls within this range, the system is potentially affected.

Impact Analysis

If you use curl versions 8.18.0 through 8.22.0 with cookie jars, an attacker could trick curl into deleting cookies for unrelated domains by sending a specially crafted cookie. This could disrupt sessions or log users out of unrelated services that rely on cookies stored in the jar.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards. It primarily causes cookie deletion in curl's cookie jar, which may impact session management but does not involve unauthorized data access, disclosure, or processing violations typically addressed by these regulations.

Mitigation Strategies

Upgrade curl to version 8.23.0 or later. If upgrading is not possible, avoid using cookies with curl by not using the --cookie or --cookie-jar options. Alternatively, apply the official patch provided by the curl project.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-86412. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...