{"id":"CVE-2026-129302","published":"2026-11-16T19:36:17Z","modified":"2026-11-18T15:24:28Z","title":"Guard Core: Quadratic ReDoS in built-in detection pattern freezes the event loop with a single request","vendor":"rennf93","product":"guard-core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00527,"percentile":0.45511,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/Guard-Core/guard-core/security/advisories/GHSA-r7hm-rjvg-xx7j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Guard-Core/guard-core/pull/68","tags":["x_refsource_MISC"]},{"url":"https://github.com/Guard-Core/guard-core/commit/c07239fa1c5aa93e3f179440e79dad652977d3e4","tags":["x_refsource_MISC"]},{"url":"https://github.com/Guard-Core/guard-core/releases/tag/3.13.0","tags":["x_refsource_MISC"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":9.1},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/googlesky/CVE-2026-129302","repos":[{"name":"googlesky/CVE-2026-129302","url":"https://github.com/googlesky/CVE-2026-129302","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-129302"},"provenance":"source"},"vendorSlug":"rennf93","affectedVersions":[{"vendor":"rennf93","product":"guard-core","versions":[">= 3.5.0, < 3.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-18T15:24:10.459298Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"guard-core","vulnerableRanges":[">=3.5.0, <3.13.0"],"patched":["3.13.0"],"from":["GHSA-r7hm-rjvg-xx7j"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-126620","exploited":false,"provenance":"source"}}