fastapi-guard patch contains bypassable RegEx
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| rennf93 | fastapi-guard | affected |
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-22476 | FastAPI Guard has a regex bypass |
Github GHSA |
GHSA-rrf6-pxg8-684g | FastAPI Guard has a regex bypass |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.871% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Fastapi-guard
Fastapi-guard fastapi Guard |
|
| Weaknesses | CWE-1333 | |
| CPEs | cpe:2.3:a:fastapi-guard:fastapi_guard:3.0.1:*:*:*:*:*:*:* | |
| Vendors & Products |
Fastapi-guard
Fastapi-guard fastapi Guard |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | fastapi-guard is a security library for FastAPI that provides middleware to control IPs, log requests, detect penetration attempts and more. In version 3.0.1, the regular expression patched to mitigate the ReDoS vulnerability by limiting the length of string fails to catch inputs that exceed this limit. This type of patch fails to detect cases in which the string representing the attributes of a <script> tag exceeds 100 characters. As a result, most of the regex patterns present in version 3.0.1 can be bypassed. This is fixed in version 3.0.2. | |
| Title | fastapi-guard patch contains bypassable RegEx | |
| Weaknesses | CWE-185 CWE-20 |
|
| References |
| |
| Metrics |
cvssV4_0
|