CVE & CISA-KEV Catalog

CVE-2026-23996

LOW
3.7
CVSS v3
NVD

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.

How to fix

Remediation Available
fastapi api keyNVD
Affected:< 1.1.0Fixed in:1.1.0CVE-2026-23996derived from NVD

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploit Intelligence

0.25%probability of exploitation in 30 days
17thpercentile

Low risk: more likely to be exploited than 17% of all known CVEs.

References

Release Notes1

Related Vulnerabilities

Other CWE-208 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-9494Medium5.93.7%-Fix
CVE-2019-16782Medium6.33.7%-Fix
CVE-2025-53940Unscored-2.6%--
CVE-2020-1926Medium5.92.5%-Fix
CVE-2021-43298Critical9.82.3%-Fix
CVE-2024-29995High8.11.5%-Fix
Embed a live status badge for CVE-2026-23996
CVE-2026-23996 severity badge

Markdown

[![CVE-2026-23996](https://tridentstack.com/cve/badge/CVE-2026-23996.svg)](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 free

This 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.