PyPI
CVE-2026-129302
Guard Core: Quadratic ReDoS in built-in detection pattern freezes the event loop with a single request
- Severity
- High 7.5
- Published
- 19 Nov 2026
- Last changed
- 19 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.13.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Regular expression denial of service (ReDoS) (CWE-1333)Uncontrolled resource consumption (CWE-400)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-r7hm-rjvg-xx7j
- Sources
- OSV.dev and GitHub
Description
A polynomial (quadratic) regular-expression denial of service in guard-core's built-in penetration-detection patterns allows any unauthenticated remote client to freeze every endpoint of an application for seconds per request, using only the default configuration. The triggering request completes without any detection match — no ban counter increments, no rate-limit violation is recorded — so it can be repeated indefinitely. Since guard-core 3.5.0, only custom patterns are executed through the compiler's timeout-protected create_safe_matcher(); all built-in patterns run as a bare, inline pattern.search(content) directly on the asyncio event loop.
Affected software
| Software | Affected versions |
|---|---|
guard-corePyPI · osv:PyPI:guard-core |
|
About guard-core
- Weekly downloads (PyPI)
- 17,249PyPI Stats, 24 Nov 2026
Vulnerabilities in guard-core
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-129304Guard Core: Unvalidated X-Forwarded-For-derived string used as a Redis key component and interpolated into a KEYS glob patternMedium 5.4 19 Nov 2026
- CVE-2026-129303Guard Core: Whitespace-collapse preprocessing permanently disables the CRLF-anchored http-splitting and command-injection detectors in the default detection modeLow 3.7 19 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129302
- GitHub Advisory Database https://github.com/advisories/GHSA-r7hm-rjvg-xx7j