4.2Medium

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

HKUDS LightRAG Published: (7 months ago)

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.

Weakness (CWE): CWE-347

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
HKUDS LightRAG < 1.4.14

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:hkuds:lightrag:*:*:*:*:*:*:*:* < 1.4.14