Skip to main content
← All vulnerabilities
CVE-2025-53539GHSA-J47Q-RC62-W448PYSEC-2026-1359

ReDoS in fastapi-guard's penetration attempts detector

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • rennf93 fastapi-guard

    fixed in 3.0.1

  • fastapi-guardPyPI

    fixed in 3.0.1

References 2

GitHub · rennf93/fastapi-guard