CyberRota Analysis
AI-GeneratedLightRAG versions prior to 1.5.4 are vulnerable due to improper API key protection, allowing remote unauthenticated attackers to bypass authentication and access sensitive endpoints, including document read, upload, deletion, and mutation operations. Organizations using affected versions should prioritize upgrading to 1.5.4 to mitigate the risk of unauthorized access and potential data breaches. This vulnerability is particularly critical for deployments that rely on the LIGHTRAG_API_KEY without proper account authentication settings.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.