漏洞描述
LightRAG before 1.5.4 accepts any valid guest JWT in combined_dependency() before it checks the X-API-Key header when LIGHTRAG_API_KEY is set and AUTH_ACCOUNTS is not configured. GET /auth-status hands out such a guest token to anyone, and the token is signed with the public DEFAULT_TOKEN_SECRET, so the API key protection of the documented API-key-only mode can be bypassed.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。