CVE-2026-86412
CVE-2026-86412 · server-set cookie erases cookie jar
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
EPSS 0.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
curl
- Versions
- ≥ 8.22.0, ≤ 8.22.0: Affected (semver)
- ≥ 8.21.0, ≤ 8.21.0: Affected (semver)
- ≥ 8.20.0, ≤ 8.20.0: Affected (semver)
- ≥ 8.19.0, ≤ 8.19.0: Affected (semver)
- ≥ 8.18.0, ≤ 8.18.0: Affected (semver)
No fix published
curl Debian:14
- Versions
- 8.14.1-2
- 8.14.1-2+exp1
- 8.15.0-1
- 8.15.0-1~bpo13+1
- 8.15.0-1~exp1
- 8.15.0~rc1-1exp1
- 8.15.0~rc2-1~exp1
- 8.15.0~rc3-1~exp1
- 8.16.0-1
- 8.16.0-1+exp1
- 8.16.0-1~bpo13+1
- 8.16.0-2
- 8.16.0-3
- 8.16.0-4
- 8.16.0-4~bpo13+1
- 8.16.0~rc1-1~exp1
- 8.16.0~rc2-1
- 8.16.0~rc2-2
- 8.16.0~rc3-1
- 8.17.0-1
- 8.17.0-2
- 8.17.0-3
- 8.17.0~rc1-1~exp1
- 8.17.0~rc2-1
- 8.17.0~rc3-1
- 8.18.0-1
- 8.18.0-1~bpo13+1
- 8.18.0-2
- 8.18.0~rc1-1+exp1
- 8.18.0~rc2-1
- 8.18.0~rc3-1
- 8.19.0-1
- 8.19.0-1+exp1
- 8.19.0-1~bpo13+1
- 8.19.0-2
- 8.19.0-3
- 8.19.0-3+exp1
- 8.19.0-3+exp2
- 8.19.0~rc1-1~exp1
- 8.19.0~rc2-1
- 8.19.0~rc2-2
- 8.19.0~rc3-1
- 8.20.0-1
- 8.20.0-1+exp
- 8.20.0-2
- 8.20.0-2+exp1
- 8.20.0-2~bpo13+1
- 8.20.0-3
- 8.20.0-4
- 8.20.0-5
- 8.20.0-5~bpo13+1
- 8.20.0~rc1-1+exp1
- 8.20.0~rc1-1+exp2
- 8.20.0~rc1-1+exp3
- 8.20.0~rc2-1
- 8.20.0~rc2-1+exp1
- 8.20.0~rc3-1
- 8.20.0~rc3-1+exp1
- 8.21.0-1
- 8.21.0-1+exp1
- 8.21.0-2
- 8.21.0-2+exp1
- 8.21.0-2~bpo13+1
- 8.21.0~rc1-1+exp1
- 8.21.0~rc2-1
- 8.21.0~rc2-1+exp1
- 8.21.0~rc3-1
- 8.21.0~rc3-1+exp1
- 8.22.0-1
- 8.22.0-1+exp1
- 8.22.0~rc2-1
- 8.22.0~rc2-2
- 8.22.0~rc3-1
- 8.22.0~rc3-1+exp1
- 8.23.0-1
- 8.23.0~rc1-1
- 8.23.0~rc1-2
- 8.23.0~rc2-1
- 8.23.0~rc2-1+exp1
- 8.23.0~rc3-1
- 8.23.0~rc3-1+exp1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
curl Ubuntu:26.10
- Versions
- 8.18.0-1ubuntu2
- 8.20.0-2ubuntu1
- 8.20.0-2ubuntu3
- 8.20.0-2ubuntu10
- 8.20.0-2ubuntu11
- Affected ranges
- ECOSYSTEM: < 8.20.0-2ubuntu11.1
Update to 8.20.0-2ubuntu11.1
curl Ubuntu:26.04:LTS
- Versions
- 8.14.1-2ubuntu1
- 8.17.0-1ubuntu1
- 8.18.0-1ubuntu1
- 8.18.0-1ubuntu2
- 8.18.0-1ubuntu2.1
- 8.18.0-1ubuntu2.2
- 8.18.0-1ubuntu2.3
- 8.18.0-1ubuntu2.4
- 8.18.0-1ubuntu2.5
- 8.18.0-1ubuntu2.7
- Affected ranges
- ECOSYSTEM: < 8.18.0-1ubuntu2.8
Update to 8.18.0-1ubuntu2.8