Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2025-53539
fastapi-guard fastapi guard

Score6.9 Medium
CVSS 4.0
Exploit probability (EPSS)0.78%
within the next 30 days
CategoryDenial of service
Published7 July 2025
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

Impact is limited: crashing the system or making it unavailable.

Weakness type: Inefficient regular expression (ReDoS).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

FastAPI Guard is a security library for FastAPI that provides middleware to control IPs, log requests, and detect penetration attempts. fastapi-guard's penetration attempts detection uses regex to scan incoming requests. However, some of the regex patterns used in detection are extremely inefficient and can cause polynomial complexity backtracks when handling specially crafted inputs. This vulnerability is fixed in 3.0.1.

CVSS: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness: CWE-1333 – Inefficient regular expression (ReDoS)

Affected products

VendorProductVersions
fastapi-guardfastapi guard<3.0.1

Sources

Latest in the same category

  • CVE-2026-139887 Low 1.9
    A vulnerability was found in nanocoai NanoClaw up to 2026.11.0. This affects the function readEnvFile of the file src/env.ts of the component Lockdown. The manipulation results in improper check for unusual conditions.…
    Denial of service · 1 December 2026
  • CVE-2026-139844 Medium 6.2
    A flaw was found in glib2. A local attacker can cause a Denial of Service (DoS) by exhausting file descriptors in an application that communicates over UNIX domain sockets using GDBus. By repeatedly sending malformed…
    Denial of service · 1 December 2026
  • CVE-2026-129980 Not scored
    Net::PublicSuffixList versions before 0.99_03 for Perl allow CPU and memory exhaustion via hosts with many labels in suffixes_in. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.…
    Denial of service · 1 December 2026
  • CVE-2026-121473 Medium 5.3
    A flaw was found in sequoia-net. When retrieving certificates from an HTTP Keyserver Protocol (HKP) or Web Key Directory (WKD) server, incoming responses are buffered in memory without an enforced size limit. A…
    Denial of service · 1 December 2026
  • CVE-2026-140102 High 7.5
    http-proxy-middleware is node.js http-proxy middleware. From 0.8.0 until 2.0.12, 3.0.11, and 4.2.2, an Upgrade request whose path does not match pathFilter can leave the raw socket without an error listener when ws:…
    Denial of service · 30 November 2026
  • CVE-2026-140095 High 8.7
    python-semver is a Python package for working with Semantic Versioning. Prior to 3.1.3, semver.Version.parse accepted an arbitrarily long alphabetic BUILD_IDENTIFIER and bump_build passed it through _increment_string…
    Denial of service · 30 November 2026