Skip to main content
← All vulnerabilities
CVE-2026-39413GHSA-8FFJ-4HX4-9PGFPYSEC-2026-2592

LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.14
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • HKUDS LightRAG

    fixed in 1.4.14

  • lightrag-hkuPyPI

    fixed in 1.4.14

References 1

GitHub · HKUDS/LightRAG