CVE-2026-23996: Athroniaeth fastapi-api-key · Timing Side Channel
Affects Athroniaeth fastapi-api-keySource CVE Database V5
Not known to be exploited · CVSS 3.7 Low : upgrade to 1.1.0 when convenient.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.1.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade Athroniaeth fastapi-api-key to 1.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Athroniaethfastapi-api-key | Affected
| Fixed in
|
PyPIfastapi-api-keypkg:pypi/fastapi-api-keyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The primary mitigation is to upgrade fastapi-api-key to version 1.1.0 or later, which includes a patch applying uniform random delays to all verification responses, eliminating timing discrepancies. Until upgrading is feasible, organizations should implement application-level mitigations such as adding fixed or randomized delays (jitter) uniformly to all API key verification responses, regardless of success or failure, to mask timing differences. Additionally, deploying strict rate limiting and throttling on API endpoints can reduce the feasibility of repeated timing measurements by attackers. Monitoring and logging authentication attempts for unusual patterns can help detect brute-force or enumeration activities early. Organizations should also review API key management policies to ensure keys are rotated regularly and follow the principle of least privilege. Finally, educating developers about timing side-channel risks and secure coding practices can prevent similar vulnerabilities in the future.
Description
CVE-2026-23996 is a timing side-channel vulnerability in the fastapi-api-key library version prior to 1.1.0. The verify_key() function applies a random delay only on verification failures, enabling attackers to statistically distinguish valid API keys by measuring response times. This can facilitate brute-force or enumeration attacks against API keys. The vulnerability impacts confidentiality by revealing valid key existence but does not affect integrity or availability. The issue is fixed in version 1.1.0 by applying uniform random delays to all responses. Mitigations include upgrading to 1.