CVE-2026-129302

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. Because penetration detection and enhanced mode are enabled by a stock SecurityConfig, an unauthenticated request can block the shared asyncio event loop, affecting all application endpoints. The triggering input does not produce a detection match, so the request can complete without incrementing ban counters or being recorded as suspicious. This issue is fixed in version 3.13.0.
Configurations

No configuration.

History

18 Nov 2026, 16:18

Type Values Removed Values Added
References () https://github.com/Guard-Core/guard-core/security/advisories/GHSA-r7hm-rjvg-xx7j - () https://github.com/Guard-Core/guard-core/security/advisories/GHSA-r7hm-rjvg-xx7j -

16 Nov 2026, 20:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-16 20:19

Updated : 2026-11-18 16:18


NVD link : CVE-2026-129302

Mitre link : CVE-2026-129302

CVE.ORG link : CVE-2026-129302


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-1333

Inefficient Regular Expression Complexity