Importing a includeSubDomains parent HSTS entry before a longer-lived child entry, silently drops the child. (CVE-2026-87862)
Description
A vulnerability exists in the handling of HSTS policies where importing a parent domain's includeSubDomains HSTS entry before a longer-lived child domain entry causes the child entry to be silently dropped. This results in the loss of the child's valid HSTS policy when the parent expires, leading curl to downgrade to unencrypted HTTP requests instead of enforcing HTTPS.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-87862) involves the processing order of HSTS entries in curl. When a parent domain's HSTS entry with includeSubDomains is imported before a child domain's longer-lived HSTS entry, the child's entry is silently discarded. Consequently, after the parent domain's HSTS policy expires, the child domain's valid HSTS policy is lost, causing curl to fail to upgrade HTTP requests to HTTPS for that child domain.
Potential Impact
The impact is that curl may issue unencrypted HTTP requests to child domains that should have enforced HTTPS due to their valid HSTS policies. This could potentially expose communications to interception or downgrade attacks if an attacker can exploit the absence of HTTPS enforcement. However, no known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be aware of this behavior and consider manual verification of HSTS policies or alternative mitigations to ensure HTTPS enforcement for child domains.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-29c5-pmm5-3j3x
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-87862"]
Threat ID: 6ad7ec132cdf04f6566aefbb
Added to database: 10/20/2026, 22:32:51 UTC
Last enriched: 10/20/2026, 22:36:05 UTC
Last updated: 10/20/2026, 23:48:26 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.