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.
Published: 2026-10-20
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Disruption of session state due to unauthorized cookie deletion
Action: Patch cURL
AI Analysis

Impact

This vulnerability involves libcurl’s handling of server‑set cookies. A remote HTTP server can send a Set‑Cookie header that curl accepts and writes to its Netscape cookie jar. On the next invocation using the same path for `--cookie` and `--cookie-jar`, the client fails before connecting and its cleanup routine replaces the jar with an empty file, deleting cookies for unrelated domains. Because authentication tokens and session data are stored in cookies, the flaw can erase session information and disrupt application functionality. The issue is due to improper cookie management logic (CWE‑754).

Affected Systems

The cURL client library (used by many applications on Windows, Linux, macOS) is affected. Any program that relies on libcurl's cookie handling is impacted. The specific vulnerable versions are not listed in the available data.

Risk and Exploitability

The base CVSS score is 8.1, indicating high severity. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog. The lack of an explicit attack‑vector annotation suggests that exploitation would require the attacker to influence server responses or communicate with the client over the network. The vulnerability is most likely relevant to remote or local attackers who can dictate headers to the cURL client. While it does not enable arbitrary code execution, it can disrupt application functionality by erasing cookies, potentially causing authentication failure and denial of service.

Generated by OpenCVE AI on October 29, 2026 at 21:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest version of cURL that includes the fix for cookie‑jar erasure.
  • If an upgrade is not immediately possible, disable libcurl’s cookie jar handling or configure strict cookie validation to ignore Set‑Cookie headers that would erase all cookies.
  • Regularly monitor cURL release notes and advisory channels for new security patches and implement automated package‑update mechanisms.

Generated by OpenCVE AI on October 29, 2026 at 21:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8927-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8927-2 curl vulnerabilities
History

Fri, 30 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 29 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Tue, 20 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
Description No description is available for this CVE. 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.
Title curl: curl: server-set cookie erases cookie jar server-set cookie erases cookie jar
References

Sun, 18 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Description No description is available for this CVE.
Title curl: curl: server-set cookie erases cookie jar
Weaknesses CWE-754
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'}

threat_severity

Low


cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-10-29T18:46:02.464Z

Reserved: 2026-09-07T12:11:50.326Z

Link: CVE-2026-86412

cve-icon Vulnrichment

Updated: 2026-10-29T18:45:37.217Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T20:17:25.667

Modified: 2026-10-29T19:17:27.717

Link: CVE-2026-86412

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-14T12:00:00Z

Links: CVE-2026-86412 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T21:45:15Z

Weaknesses
  • CWE-754

    Improper Check for Unusual or Exceptional Conditions