Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lightrag-hku
  4. ›
  5. CVE-2026-39413

CVE-2026-39413: lightrag-hku: JWT Algorithm Confusion Vulnerability

April 8, 2026 (updated April 27, 2026)

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.

References

  • github.com/HKUDS/LightRAG
  • github.com/HKUDS/LightRAG/commit/728f2e54509d93e0a44f929c7f83f2c88d6d291b
  • github.com/HKUDS/LightRAG/security/advisories/GHSA-8ffj-4hx4-9pgf
  • github.com/advisories/GHSA-8ffj-4hx4-9pgf
  • nvd.nist.gov/vuln/detail/CVE-2026-39413

Code Behaviors & Features

Detect and mitigate CVE-2026-39413 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.14

Fixed versions

  • 1.4.14

Solution

Upgrade to version 1.4.14 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

pypi/lightrag-hku/CVE-2026-39413.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:19 +0000.