{"id":"CVE-2026-86412","title":"server-set cookie erases cookie jar","summary":"A remote HTTP server can set a cookie that curl accepts and writes to a\nNetscape cookie jar but cannot reload. On the next invocation using the same\npath for `--cookie` and `--cookie-jar`, curl fails before connecting, then the\ncleanup p…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cvssSource":"adp","cwe":["CWE-754"],"vendor":"curl","product":"curl","affected":["curl >= 8.22.0 <= 8.22.0","curl >= 8.21.0 <= 8.21.0","curl >= 8.20.0 <= 8.20.0","curl >= 8.19.0 <= 8.19.0","curl >= 8.18.0 <= 8.18.0"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-29T18:45:47.407942Z"},"exploitAvailable":true,"published":"2026-10-20","updated":"2026-10-29","sourceUpdated":"2026-10-29T18:46:02.464Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-86412","references":[{"url":"https://curl.se/docs/CVE-2026-86412.json","label":"json"},{"url":"https://curl.se/docs/CVE-2026-86412.html","label":"www"},{"url":"https://hackerone.com/reports/3973201","label":"issue"}],"tags":["cve.org","exploit-available"],"epss":0.00828,"epssPercentile":0.57528,"ingestedAt":"2026-10-20T20:18:14.525Z","slug":"CVE-2026-86412","body":"## Overview\n\nA remote HTTP server can set a cookie that curl accepts and writes to a\nNetscape cookie jar but cannot reload. On the next invocation using the same\npath for `--cookie` and `--cookie-jar`, curl fails before connecting, then the\ncleanup procedure replaces the jar with an empty file, deleting cookies for\nunrelated domains.\n\n## Affected\n\n- `curl >= 8.22.0 <= 8.22.0`\n- `curl >= 8.21.0 <= 8.21.0`\n- `curl >= 8.20.0 <= 8.20.0`\n- `curl >= 8.19.0 <= 8.19.0`\n- `curl >= 8.18.0 <= 8.18.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":57,"depthScoreParts":{"impact":44.6,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[{"seq":232009,"id":"CVE-2026-86412","ts":1793574268681,"field":"exploit_available","old":"false","new":"true"},{"seq":232008,"id":"CVE-2026-86412","ts":1793574268681,"field":"cvss","old":null,"new":"8.1"},{"seq":232007,"id":"CVE-2026-86412","ts":1793574268681,"field":"severity","old":"none","new":"high"}]}