Importing a includeSubDomains parent HSTS entry before a longer-lived child
entry, silently drops the child. Consequently, when the parent expires, the
child's valid HSTS policy is lost, causing curl to issue unencrypted HTTP
requests rather than upgrading to HTTPS.
{
"CWE": {
"desc": "Information Exposure Through Sent Data",
"id": "CWE-201"
},
"URL": "https://curl.se/docs/CVE-2026-87862.json",
"affects": "both",
"issue": "https://hackerone.com/reports/3972357",
"last_affected": "8.22.0",
"package": "curl",
"severity": "Low",
"www": "https://curl.se/docs/CVE-2026-87862.html"
}"https://curl.se/docs/CURL-CVE-2026-87862.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"224427400684326249590822012963350597075",
"2737065825097435213544451821822622621",
"214650631889071362966467564430717118548",
"116082283867178258548291069737951800414"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-87862-9ffd2bf3",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/a1614c3bcf1593eb524b37792124357d97a5429c",
"target": {
"file": "lib/hsts.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "256221136634413402692360369980878541334",
"length": 966
},
"id": "CURL-CVE-2026-87862-c6e9f2fa",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/a1614c3bcf1593eb524b37792124357d97a5429c",
"target": {
"file": "lib/hsts.c",
"function": "hsts_add_host_expire"
}
}
]
"2026-10-14T19:02:56Z"