{"id":"CVE-2026-39413","published":"2026-04-08T19:41:23Z","modified":"2026-04-22T15:28:31Z","title":"LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API","vendor":"HKUDS","product":"LightRAG","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00181,"percentile":0.07819,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-8ffj-4hx4-9pgf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/github/advisory-database/issues/7373","tags":[]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":1.56},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"hkuds","affectedVersions":[{"vendor":"HKUDS","product":"LightRAG","versions":["< 1.4.14"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-08T20:18:28.117904Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lightrag-hku","vulnerableRanges":["<1.4.14"],"patched":["1.4.14"],"from":["GHSA-8ffj-4hx4-9pgf","PYSEC-2026-2592"],"provenance":"source"}],"summary":{"text":"The LightRAG API of the LightRAG retrieval-augmented generation product (HKUDS) fails to reject JWTs that use the \"none\" algorithm, because its jwt.decode() call does not explicitly deny it, so unsigned tokens are accepted as valid. An attacker with network access who can meet a high-complexity precondition, such as needing existing privileges and user interaction, can forge a token without a signature and gain unauthorized access to information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:52Z"},"euvd":{"id":"EUVD-2026-20601","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-6773","published":"2025-06-27","fixed":"1.3.8","kev":false,"link":{"from":"CVE-2025-6773","to":"CVE-2026-39413","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:lightrag-hku","fromFixed":"1.3.8","toFixed":"1.4.14","daysApart":285}]}},{"cve":"CVE-2026-39413","published":"2026-04-08","fixed":"1.4.14","kev":false},{"cve":"CVE-2026-61736","published":"2026-07-15","fixed":"1.5.4","kev":false,"link":{"from":"CVE-2026-39413","to":"CVE-2026-61736","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:lightrag-hku","fromFixed":"1.4.14","toFixed":"1.5.4","daysApart":98}]}},{"cve":"CVE-2026-61740","published":"2026-07-15","fixed":"1.5.4","kev":false,"link":{"from":"CVE-2026-39413","to":"CVE-2026-61740","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:lightrag-hku","fromFixed":"1.4.14","toFixed":"1.5.4","daysApart":98}]}},{"cve":"CVE-2026-85709","published":"2026-09-22","fixed":"1.5.5","kev":false}],"package":"PyPI:lightrag-hku"}}