CVE-2026-129302
Description
guard-core 3.5.0-3.12.0: built-in detection patterns ran as bare inline pattern.search on the asyncio loop with no timeout — the template-injection detector costs O(N^2) on a '{'-run body, freezing every endpoint, repeatable indefinitely. Verbatim pattern + verbatim safe matcher 3.13.0 (c07239fa): 13.7 s bare vs timeout-refused on fixed.
CVE-CVE-2026-129302 Details
Guard Core is an API security core engine for the FastAPI-Guard, FlaskAPI Guard, and DjAPI Guard adapters. From 3.5.0 until 3.13.0, built-in penetration-detection patterns in guard_core/handlers/suspatterns_handler.py execute through a direct pattern.search(content) call instead of the timeout-protected create_safe_matcher() path used for custom patterns. The built-in template-injection detector contains an unbounded expression with quadratic behavior when scanning repeated opening braces. Becau...
Related PoCs for CVE-2026-129302
No other PoCs found for this CVE.