CVE-2026-61740

LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.4, when LightRAG is deployed with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset, X-API-Key protection can be bypassed because lightrag/api/auth.py falls back to a hardcoded DEFAULT_TOKEN_SECRET, /auth-status and /login can mint guest JWTs, and combined_dependency in lightrag/api/utils_api.py accepts a valid guest token before checking the API key. A remote unauthenticated attacker can call endpoints guarded by combined_auth, including document read, upload, deletion, graph mutation, and query endpoints. This vulnerability is fixed in 1.5.4.
CVSS

No CVSS.

Configurations

No configuration.

History

24 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) LightRAG proporciona generación aumentada por recuperación simple y rápida. Antes de 1.5.4, cuando LightRAG se despliega con LIGHTRAG_API_KEY configurada pero AUTH_ACCOUNTS no configurada, la protección de X-API-Key puede ser eludida porque lightrag/api/auth.py recurre a un DEFAULT_TOKEN_SECRET codificado de forma rígida, /auth-status y /login pueden emitir JWTs de invitado, y combined_dependency en lightrag/api/utils_api.py acepta un token de invitado válido antes de verificar la clave API. Un atacante remoto no autenticado puede llamar a los puntos finales protegidos por combined_auth, incluyendo lectura de documentos, carga, eliminación, mutación de grafos y puntos finales de consulta. Esta vulnerabilidad está corregida en 1.5.4.

Information

Published : 2026-07-15 15:16

Updated : 2026-10-24 21:10


NVD link : CVE-2026-61740

Mitre link : CVE-2026-61740

CVE.ORG link : CVE-2026-61740


JSON object : View

Products Affected

No product.

CWE
CWE-287

Improper Authentication

CWE-798

Use of Hard-coded Credentials