{"id":"CVE-2026-86412","revision":"007cb95ef4bc448687dfdc9eaee29a1b","records":[{"revision":"007cb95ef4bc448687dfdc9eaee29a1b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-86412","aliases":[],"title":"server-set cookie erases cookie jar","description":"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 procedure replaces the jar with an empty file, deleting cookies for\nunrelated domains.","state":0,"publishedAt":"2026-10-20T20:03:28.2+00:00","modifiedAt":"2026-10-20T20:03:28.2+00:00","affected":[{"ecosystem":"Vendor product","name":"curl","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"curl\",\n                    \"product\": \"curl\",\n                    \"versions\": [\n                        {\n                            \"version\": \"8.22.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.22.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.21.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.21.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.20.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.20.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.19.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.19.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.18.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.18.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://curl.se/docs/CVE-2026-86412.json","https://curl.se/docs/CVE-2026-86412.html","https://hackerone.com/reports/3973201"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-86412","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-86412","identifiers":["CVE-2026-86412"]},"retained":false,"historicalAffected":[]}],"coverage":[]}