CVE-2026-23996
LOWDescription
FastAPI Api Key provides a backend-agnostic library that provides an API key system. Version 1.1.0 has a timing side-channel vulnerability in verify_key(). The method applied a random delay only on verification failures, allowing an attacker to statistically distinguish valid from invalid API keys by measuring response latencies. With enough repeated requests, an adversary could infer whether a key_id corresponds to a valid key, potentially accelerating brute-force or enumeration attacks. All users relying on verify_key() for API key authentication prior to the fix are affected. Users should upgrade to version 1.1.0 to receive a patch. The patch applies a uniform random delay (min_delay to max_delay) to all responses regardless of outcome, eliminating the timing correlation. Some workarounds are available. Add an application-level fixed delay or random jitter to all authentication responses (success and failure) before the fix is applied and/or use rate limiting to reduce the feasibility of statistical timing attacks.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 17% of all known CVEs.
References
Related Vulnerabilities
Other CWE-208 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2019-9494 | Medium | 5.9 | 3.7% | - | Fix |
| CVE-2019-16782 | Medium | 6.3 | 3.7% | - | Fix |
| CVE-2025-53940 | Unscored | - | 2.6% | - | - |
| CVE-2020-1926 | Medium | 5.9 | 2.5% | - | Fix |
| CVE-2021-43298 | Critical | 9.8 | 2.3% | - | Fix |
| CVE-2024-29995 | High | 8.1 | 1.5% | - | Fix |
Embed a live status badge for CVE-2026-23996
Markdown
[](https://tridentstack.com/cve/CVE-2026-23996)HTML
<a href="https://tridentstack.com/cve/CVE-2026-23996"><img src="https://tridentstack.com/cve/badge/CVE-2026-23996.svg" alt="CVE-2026-23996"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-02-27.