Live threats

All CVEs / rennf93

CVE-2026-129302rennf93 guard-core

High 7.5 No auth needed

Priority
64
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Nov 16, 2026
Updated
Nov 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for guard-core.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI guard-core ≥ 3.5.0 < 3.13.0 3.13.0 pip install "guard-core>=3.13.0"

Per OSV / GitHub Advisories (GHSA-r7hm-rjvg-xx7j). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.