HSTS cache import drops longer-lived child
Summary
| CVE | CVE-2026-87862 |
|---|---|
| State | PUBLISHED |
| Assigner | curl |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-20 21:17:20 UTC |
| Updated | 2026-10-20 21:17:20 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-201 Information Exposure Through Sent Data
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Curl | Curl | affected 8.22.0 8.22.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.21.0 8.21.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.20.0 8.20.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.19.0 8.19.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.18.0 8.18.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.17.0 8.17.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.16.0 8.16.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.15.0 8.15.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.14.1 8.14.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.14.0 8.14.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.13.0 8.13.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.12.1 8.12.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.12.0 8.12.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.11.1 8.11.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.11.0 8.11.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| hackerone.com/reports/3972357 | 2499f714-1537-4658-8207-48ae4bb9eae9 | hackerone.com | |
| curl.se/docs/CVE-2026-87862.json | 2499f714-1537-4658-8207-48ae4bb9eae9 | curl.se | |
| curl.se/docs/CVE-2026-87862.html | 2499f714-1537-4658-8207-48ae4bb9eae9 | curl.se | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Stanislav Fort (Aisle Research) (en)
CNA: Daniel Stenberg (en)
There are currently no legacy QID mappings associated with this CVE.