CVE-2026-39413
MEDIUM 6.5CVSS 3.1lightrag-hku: JWT Algorithm Confusion Vulnerability
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.
- Published
- 8 Apr 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-8ffj-4hx4-9pgfPYSEC-2026-2592
- Sources
- NVDJSONOSV GHSA-8ffj-4hx4-9pgfJSONOSV PYSEC-2026-2592JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hkuds | lightragcpe:2.3:a:hkuds:lightrag:*:*:*:*:*:*:*:* |
< 1.4.14 | 1.4.14 |
| OSV | PyPI | lightrag-hku | < 1.4.14 | 1.4.14 |
References
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-8ffj-4hx4-9pgf · Exploit, Mitigation, Vendor Advisory, WEB
- https://github.com/github/advisory-database/issues/7373
- https://nvd.nist.gov/vuln/detail/CVE-2026-39413 · ADVISORY
- https://github.com/HKUDS/LightRAG/commit/728f2e54509d93e0a44f929c7f83f2c88d6d291b · WEB
- https://github.com/HKUDS/LightRAG · PACKAGE
- https://pypi.org/project/lightrag-hku · PACKAGE
- https://github.com/advisories/GHSA-8ffj-4hx4-9pgf · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Apr 2026)