When curl is asked to use HSTS, the expiry time for a subdomain might overwrite a parent domain's cache entry, making
Source GCVE Database
Not known to be exploited · CVSS 5.9 Medium.
Data as of 30 Oct 2026, 00:41 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 5.9 |
|---|
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
Until a fix is available, users should be aware of this behavior when using curl with HSTS and consider manual cache management or avoiding mixed HTTP accesses to parent and subdomains with differing HSTS policies.
Description
A vulnerability in curl's handling of HSTS cache expiry times can cause the expiry time for a subdomain to overwrite the parent domain's cache entry. This leads to incorrect enforcement durations of HTTPS redirection for the parent domain, potentially causing curl to either prematurely revert to HTTP or continue HTTPS access beyond the intended expiry. The issue occurs when curl uses HSTS with URLs involving both a parent domain and its subdomain, and the HSTS cache has been populated from prior HTTPS accesses or manual entries.
References
- nvd.nist.gov/vuln/detail/CVE-2024-9681 (opens in a new tab)
- hackerone.com/reports/2764830 (opens in a new tab)
- curl.se/docs/CVE-2024-9681.html (opens in a new tab)
- curl.se/docs/CVE-2024-9681.json (opens in a new tab)
- security.netapp.com/advisory/ntap-20241213-0006 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/10 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/11 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/12 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/13 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/4 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/5 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/8 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/9 (opens in a new tab)
- openwall.com/lists/oss-security/2024/11/06/2 (opens in a new tab)