Skip to content
OpenAdvisories
High · 8.1 CVE-2026-86412 EUVD-2026-105277GHSA-cfhr-3c9j-cfhw

server-set cookie erases cookie jar

Published Oct 20, 2026 · Updated Oct 29, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
curl curl 8.22.0 – ≤ 8.22.0, 8.21.0 – ≤ 8.21.0, 8.20.0 – ≤ 8.20.0, 8.19.0 – ≤ 8.19.0, 8.18.0 – ≤ 8.18.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 curl 8.20.0-2ubuntu11.1 USN-8927-2
Ubuntu 26.04 LTS curl 8.18.0-1ubuntu2.8 USN-8927-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 curl +3 8.23.0-0.1.hum1 RHSA-2026:82895
ReleasePackageFixed inAdvisory
SLES 15 SP7 curl 8.22.0-150700.7.33.1 SUSE-SU-2026:5068-1
SLES 15 SP6 curl 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 curl 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.23.0-1.1 openSUSE-SU-2026:12150-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.23.0-r0 —
Alpine v3.23 curl 8.23.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rust No fix yet —

Advisories 7

References