Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
LightRAG: Authentication bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Vulnerability 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.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Vulnerability Type
认证机制不恰当
Vulnerability Title
HKUDS LightRAG 授权问题漏洞
Vulnerability Description
HKUDS LightRAG是HKUDS开源的一款检索增强生成框架。 HKUDS LightRAG 1.5.4之前版本存在安全漏洞,该漏洞源于硬编码令牌和认证绕过问题,可能导致远程未经身份验证的攻击者调用受保护的端点,包括文档读取、上传、删除、图形变更和查询端点。
CVSS Information
N/A
Vulnerability Type
N/A