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).
{
"URL": "https://curl.se/docs/CVE-2026-82209.json",
"CWE": {
"desc": "Information Exposure Through Sent Data",
"id": "CWE-201"
},
"package": "curl",
"affects": "both",
"last_affected": "8.21.0",
"www": "https://curl.se/docs/CVE-2026-82209.html",
"severity": "Low",
"issue": "https://hackerone.com/reports/3972385"
}[
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1541.0,
"function_hash": "213908973564268594638752847231949979873"
},
"id": "CURL-CVE-2026-82209-2d294af4",
"target": {
"function": "is_public_suffix",
"file": "lib/cookie.c"
},
"source": "https://github.com/curl/curl.git/commit/95c1e8915dce64606bd753fd47fc0bd236e31cd6",
"signature_version": "v1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1968.0,
"function_hash": "222278781498688503787787149637841757802"
},
"id": "CURL-CVE-2026-82209-3e6d2661",
"target": {
"function": "Curl_cookie_add",
"file": "lib/cookie.c"
},
"source": "https://github.com/curl/curl.git/commit/95c1e8915dce64606bd753fd47fc0bd236e31cd6",
"signature_version": "v1"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"21731868551911990400354518369227389333",
"311339764407599575675744290038700683018",
"67409538252246842468129996238415507633",
"224238131650987331527718603641182882494",
"51712989053120701785138910181342785258",
"62922986269795145090752633040670570483",
"92544284258673586415963021062531968348",
"14590852356148094742011252700767634914",
"240366736704082154951189601671281888744",
"102088696126812935081930637958153298509",
"3097192871563462358128540996551017003",
"292141583597009942329457207525873703953",
"145216581391913082276329618955851914563",
"116388533793503780493851995865121599403",
"53608696260299754480294834383817733622",
"276767620444654246698632291886791423708"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-82209-9c5731a5",
"target": {
"file": "lib/cookie.c"
},
"source": "https://github.com/curl/curl.git/commit/95c1e8915dce64606bd753fd47fc0bd236e31cd6",
"signature_version": "v1"
}
]
"https://curl.se/docs/CURL-CVE-2026-82209.json"
"2026-09-02T08:04:19Z"