CVE-2025-54365

Source
https://cve.org/CVERecord?id=CVE-2025-54365
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54365.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54365
Aliases
Published
2025-07-23T22:11:36Z
Modified
2026-08-12T03:51:39Z
Severity
  • 7.8 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
fastapi-guard patch contains bypassable RegEx
Details

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

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-185",
        "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54365.json"
}
References

Affected packages

Git / github.com/rennf93/fastapi-guard

Affected ranges

Type
GIT
Repo
https://github.com/rennf93/fastapi-guard
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "3.0.1"
        },
        {
            "fixed": "3.0.2"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

3.*
3.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54365.json"