CVE-2026-39413CWE-347

LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API

Medium · published April 8, 2026

CVSS v3.1
4.2
EPSS
0%
Percentile
10.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00208 · 10.3th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2026-04-08T19:41Z
EPSS history
Timeline
  • 08 APR 19:41Z
    LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API
    cvelistv5