CVE-2026-23996
Last modified
CVE-2026-23996 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. 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(). EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Athroniaeth | Fastapi Api Key | < 1.1.0 |
References
- https://github.com/Athroniaeth/fastapi-api-key/releases/tag/1.1.0Product, Release Notes
- https://github.com/Athroniaeth/fastapi-api-key/security/advisories/GHSA-95c6-p277-p87gMitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-23996?
How severe is CVE-2026-23996?
How do I fix CVE-2026-23996?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-23989REVA is an interoperability platform. Prior to 2.42.3 and 2.…8.1
- CVE-2026-2399CWE-22 Improper Limitation of a Pathname to a Restricted Dir…6.1
- CVE-2026-23990The Flux Operator is a Kubernetes CRD controller that manage…5.3
- CVE-2026-23991go-tuf is a Go implementation of The Update Framework (TUF).…7.5
- CVE-2026-23992go-tuf is a Go implementation of The Update Framework (TUF).…7.5
- CVE-2026-23995EVerest is an EV charging software stack. Prior to version 2…7.8
- CVE-2026-23997FacturaScripts is open-source enterprise resource planning a…9
- CVE-2026-23998Fleet is open source device management software. Prior to ve…7.5
- CVE-2026-23999Fleet is open source device management software. In versions…5.5
- CVE-2026-2400CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Inje…4.3
- CVE-2026-24000Fleet is open source device management software. Prior to ve…5.3
- CVE-2026-24001jsdiff is a JavaScript text differencing implementation. Pri…7.5
Are you affected by CVE-2026-23996?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
