Vulnerability · Published Apr 8, 2026 · Assigned by GitHub_M

CVE-2026-39413LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API

Medium 4.2

In plain English

A medium-severity security flaw in LightRAG from HKUDS. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.2Medium
Exploit odds (30 days)0.2%top 92.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlightrag-hku1.4.14GHSA-8ffj-4hx4-9pgf
PyPIlightrag-hku1.4.14PYSEC-2026-2592

Affected products (as reported)

VendorProductVersions
HKUDS LightRAG < 1.4.14

Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N

References