What’s Vulnerable › Vulnerabilities
CVE-2026-39413: LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-08 · updated 2026-07-24
- Weakness: CWE-347
Description
LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.4.14, 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. This vulnerability is fixed in 1.4.14.
Affected products
- HKUDS LightRAG: before 1.4.14 — fixed in 1.4.14
How to fix
Upgrade to a fixed version: HKUDS LightRAG 1.4.14. Check the vendor advisory for mitigations.
References
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-8ffj-4hx4-9pgf
- https://github.com/github/advisory-database/issues/7373
Get alerted when CVE-2026-39413 or the next vulnerability affects your stack