CVE-2026-82209

domain-scoped PSL domain cookie

Published Sep 6, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
Description
When libpsl support is enabled, libcurl fails to enforce the Public Suffix
List boundary check when processing a `Set-Cookie` header where the `Domain`
attribute explicitly matches an origin host that is itself a public suffix
(e.g., `Domain=co.uk` set by `co.uk`).

Instead of coercing it into a strict host-only cookie, libcurl saves the
cookie with wildcard domain scope (`.co.uk`). Consequently, the cookie is
inappropriately included in subsequent outbound requests or HTTP redirects to
arbitrary sibling subdomains under the same public suffix (e.g.,
`attacker.co.uk`).

Analysis

AI-generated

Technical impact

The vulnerability occurs when libpsl support is enabled in libcurl; the library incorrectly stores a cookie with a wildcard domain scope for a Set‑Cookie header whose Domain attribute matches a public suffix host. This results in the cookie being sent to any subdomain under the same public suffix, rather than being limited to the originating host. The unintended cookie scope can enable attackers to conduct cross‑subdomain tracking, session hijacking, or CSRF attacks by leveraging the cookie across unrelated sites that share the same public suffix.

Affected Systems

The affected product is libcurl (the curl library) when it is compiled with libpsl support. No specific version numbers are listed, so any build of curl that includes libpsl may be impacted until the vendor releases a fix.

Risk and Exploitability

The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog. The CVSS score is 8.2, indicating high severity. The known attack vector involves an attacker controlling a domain that is itself a public suffix, such as co.uk, who can set a cookie with Domain=co.uk. By doing so, the attacker can force that cookie to be sent to any subdomain of co.uk, including unrelated sites such as attacker.co.uk, which could then be used to hijack sessions or perform other cross‑domain attacks. Because the flaw requires the attacker to generate a Set‑Cookie header from a public suffix domain and it relies on libcurl's cookie handling, exploitation is considered evitable by ensuring that cookie domains are validated against the public suffix list, but no exploitation reports are currently available.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest libcurl update that includes the patch for CVE‑2026‑82209, as released by the curl project.
  • If an immediate upgrade is not feasible, rebuild or reconfigure libcurl with libpsl support disabled, which prevents the library from applying public suffix validation and eliminates the cookie scope mis‑handling.
  • As a temporary network‑level safeguard, filter outbound Set‑Cookie headers that contain Domain attributes equal to a public suffix, stripping or rejecting the Domain attribute so that only host‑only cookies are stored.
  • Verify that any web servers you control do not specify a Domain attribute that matches a public suffix; if such headers are unavoidable, remove the Domain attribute entirely or use the Secure and SameSite attributes to restrict cookie usage.

Generated by OpenCVE AI on September 10, 2026 at 06:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8820-1 curl vulnerabilities
History
Type Values Removed Values Added
First Time appeared Haxx
Haxx curl
CPEs cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
Vendors & Products Haxx
Haxx curl
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Weaknesses CWE-201
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Weaknesses CWE-20
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Description When libpsl support is enabled, libcurl fails to enforce the Public Suffix List boundary check when processing a `Set-Cookie` header where the `Domain` attribute explicitly matches an origin host that is itself a public suffix (e.g., `Domain=co.uk` set by `co.uk`). Instead of coercing it into a strict host-only cookie, libcurl saves the cookie with wildcard domain scope (`.co.uk`). Consequently, the cookie is inappropriately included in subsequent outbound requests or HTTP redirects to arbitrary sibling subdomains under the same public suffix (e.g., `attacker.co.uk`).
Title domain-scoped PSL domain cookie
References
Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data

  • CWE-501

    Trust Boundary Violation

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Sep 15, 2026, 6:03 AM
Reserved
Aug 28, 2026, 8:25 AM
Status
Modified
Published
Sep 6, 2026, 6:17 PM
Modified
Sep 15, 2026, 7:16 AM
Severity
Low
Public date
Sep 6, 2026, 5:49 PM