Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-39413 EUVD-2026-20601GHSA-8ffj-4hx4-9pgfPYSEC-2026-2592

LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API

Published Apr 8, 2026 · Updated Apr 22, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
HKUDS LightRAG < 1.4.14 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lightrag-hku < 1.4.14 1.4.14 GHSA-8ffj-4hx4-9pgf

References