LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-347.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| HKUDS | LightRAG | before 1.4.14 | 1.4.14 | Patch available | CNA |
| — | lightrag-hku (PyPI) | before 1.4.14 | 1.4.14 | Patch available | GHSA-8ffj-4hx4-9pgf |
- LightRAG VendorHKUDS Affected before 1.4.14 Fixed in 1.4.14 Patch available CNA
- lightrag-hku (PyPI) Vendor— Affected before 1.4.14 Fixed in 1.4.14 Patch available GHSA-8ffj-4hx4-9pgf
Remediation
- Fix · CNA LightRAG (HKUDS) Fixed in 1.4.14
- Fix · GHSA-8ffj-4hx4-9pgf lightrag-hku (PyPI) Fixed in 1.4.14 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39413
- 2026-10-03 Alias added: GHSA-8ffj-4hx4-9pgf
References
Sources
- CVE-2026-39413 · CVE Program
- CVE-2026-39413 · NVD
- FIRST EPSS
- GHSA-8ffj-4hx4-9pgf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences