llamaCVEVulnerability Intelligence
/
Guard Core

CVE-2026-129302

Guard Core denial of service in template-injection detection regex

An unauthenticated attacker can freeze all application endpoints by sending a single network request.

Default setupsParche disponibledenial of service
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.13.0
Exposición3 dDesde la divulgación, 16 nov 2026, 2:36 p. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: ENISA EUVD
Fuente: OSV +1
16 nov 26
18 nov 26
19 nov 26
20 nov 26
16 nov 26
17 nov 26
18 nov 26
19 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-129302 divulgada · CVSS 7.5 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 16 nov 2026

Guard Core, an API security engine, has a flaw in its built-in template-injection detection pattern. An unauthenticated attacker can send a single request over the network to freeze the shared event loop, making all application endpoints unresponsive.

Affects guard-core 3.5.0 through 3.12.0 with penetration detection on, which is the default, and query parameters scanned by default. No vendor rating is given beyond CVSS 7.5. Fixed in 3.13.0.

¿Qué significa?A quadratic regular-expression denial-of-service flaw in a built-in detection pattern. A single unauthenticated request can freeze the event loop for seconds, which stalls every endpoint of the application, and the triggering request is not recorded as a detection.
¿Quién está afectado?Guard-core versions 3.5.0 through 3.12.0 are affected when penetration detection is enabled, which is the default, and enhanced mode is active, which a stock SecurityConfig enables. Query parameters are scanned by default. To check, look at the installed guard-core version and whether a SecurityConfig is present in the application.
¿Qué hacer?Upgrade guard-core to 3.13.0 or later, which is the fixed version.
Descripción original del registro (GitHub_M)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Guard-core versions 3.5.0 through 3.12.0“>= 3.5.0, <= 3.12.0”
02
Penetration detection enabled, which is the default“penetration detection is on by default”
03
Enhanced mode, which a stock SecurityConfig enables“In enhanced mode (the default whenever a SecurityConfig is present”
04
Query parameters are scanned by default“query parameters are scanned by default”
¿Quién debe revisar?Teams running guard-core 3.5.0 through 3.12.0 with default configuration, including FastAPI-Guard, FlaskAPI Guard and DjAPI Guard adapters on asyncio servers
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
guard-core≥ 3.5.0 < 3.13.0
3.5.0
3.13.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
guard-core
Corregida 3.13.0 — —
Versiones corregidas3.13.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/Guard-Core/guard-core/security/advisories/GHSA-r7hm-rjvg-xx7j
Otrahttps://github.com/Guard-Core/guard-core/pull/68
Otrahttps://github.com/Guard-Core/guard-core/commit/c07239fa1c5aa93e3f179440e79dad652977d3e4
Otrahttps://github.com/Guard-Core/guard-core/releases/tag/3.13.0

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.