server-set cookie erases cookie jar
Summary
| CVE | CVE-2026-86412 |
|---|---|
| State | PUBLISHED |
| Assigner | curl |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-20 20:17:25 UTC |
| Updated | 2026-10-20 20:17:25 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-754 Improper Check for Unusual or Exceptional Conditions
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Curl | Curl | affected 8.22.0 8.22.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.21.0 8.21.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.20.0 8.20.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.19.0 8.19.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.18.0 8.18.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| hackerone.com/reports/3973201 | 2499f714-1537-4658-8207-48ae4bb9eae9 | hackerone.com | |
| curl.se/docs/CVE-2026-86412.json | 2499f714-1537-4658-8207-48ae4bb9eae9 | curl.se | |
| curl.se/docs/CVE-2026-86412.html | 2499f714-1537-4658-8207-48ae4bb9eae9 | curl.se | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Stanislav Fort (Aisle Research) (en)
CNA: Daniel Stenberg (en)
There are currently no legacy QID mappings associated with this CVE.