CVE-2026-39413: lightrag-hku: JWT Algorithm Confusion Vulnerability
(updated )
The LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying ‘alg’: ’none’ in the JWT header. Since the jwt.decode() call does not explicitly deny the ’none’ algorithm, a crafted token without a signature will be accepted as valid, leading to unauthorized access.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-39413 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →