- Accueil
- Vulnérabilités
- CVE-2026-129302
CVE-2026-129302
Guard Core: Quadratic ReDoS in built-in detection pattern freezes the event loop with a single request
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
rennf93 (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| guard-core | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| guard-core | de 3.5.0 (inclus) à 3.13.0 (exclu) |
3.13.0 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/guard-core 3.13.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-r7hm-rjvg-xx7j — Guard Core: Quadratic ReDoS in built-in detection pattern freezes the event loop with a single request 19 nov. 2026
Références
- https://github.com/Guard-Core/guard-core/security/advisories/GHSA-r7hm-rjvg-xx7jexploit
- https://github.com/Guard-Core/guard-core/pull/68x_refsource_MISC
- https://github.com/Guard-Core/guard-core/commit/c07239fa1c5aa93e3f179440e79dad652977d3e4x_refsource_MISC
- https://github.com/Guard-Core/guard-core/releases/tag/3.13.0x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-129302ADVISORY
- https://github.com/rennf93/guard-corePACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-400 · Autre (CWE-400)