Inefficient Regex Patterns in FastAPI Guard Security Library
CVE-2025-53539
What is CVE-2025-53539?
FastAPI Guard, a middleware security library for FastAPI applications, has a vulnerability stemming from inefficient regex patterns used for detecting penetration attempts. These inefficient patterns can lead to significant performance issues, particularly when processing specially crafted inputs, as they may cause polynomial complexity backtracks. This could allow attackers to exploit the library by sending crafted requests that could stall or degrade the application’s performance. To mitigate this issue, an update has been made in version 3.0.1, which addresses the regex inefficiencies.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
fastapi-guard < 3.0.1
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
