8.2High

CVE-2026-82209domain-scoped PSL domain cookie

curl curl Published: (2 months ago)

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`).

Weakness (CWE): CWE-201

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
curl curl 7.46.0 – < 8.14.2, 8.15.0 – < 8.16.1, 8.17.0 – < 8.20.1, 8.21.0 – < 8.22.0
haxx curl 7.46.0 – < 8.22.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* ≥ 7.46.0 < 8.22.0