CVE-2026-61740: Vulnerability in lightrag-hku

Critical. LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.4, when LightRAG is deployed with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset, X-API-Key protection can be bypassed because lightrag/api/auth.py falls back to a hardcoded DEFAULT_TOKEN_SECRET, /auth-status and /login can mint guest JWTs, and combined_dependency in lightrag/api/utils_api.py accepts a valid guest token before checking...

PyPI, CWE-287, CWE-798

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
1.3 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-f4vv-55c2-5789
EU ID
EUVD-2026-44671
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-287, CWE-798
Published
15 Jul 2026
Last change
24 Oct 2026
Likelihood rank
Higher than 71 % of all rated vulnerabilities
Analysis status
Deferred
Ecosystem
PyPI

Affected packages

Vulnerable version ranges and fixed releases

  • lightrag-hku PyPI, Affected before 1.5.4. Fixed in 1.5.4

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes