CVE-2026-61740: HKUDS LightRAG · Improper Authentication
Affects HKUDS LightRAGSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · CVSS 9.3 Critical : upgrade to 1.5.4 as a priority.
Data as of 27 Nov 2026, 22:51 UTC
- EPSS
- 1.6% chance of exploitation in 30 days – higher than 76% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.5.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Jul 2026
Detectable: evidence found.
nuclei template: LightRAG < 1.5.4 - Authentication Bypass via Guest Token
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade LightRAG and lightrag-hku to 1.5.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| HKUDSLightRAG | Affected
| Fixed in
|
PyPIlightrag-hkupkg:pypi/lightrag-hkuOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in LightRAG version 1.5.4. Users should upgrade to version 1.5.4 or later to remediate this issue. Until upgrading, ensure that both LIGHTRAG_API_KEY and AUTH_ACCOUNTS are properly configured to avoid fallback to the default token secret.
Description
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 the API key. A remote unauthenticated attacker can call endpoints guarded by combined_auth, including document read, upload, deletion, graph mutation, and query endpoints. This vulnerability is fixed in 1.5.4.
References
- github.com/HKUDS/LightRAG/security/advisories/GHSA-f4vv-55c2-5789 (opens in a new tab)
- github.com/HKUDS/LightRAG/pull/3319 (opens in a new tab)
- github.com/HKUDS/LightRAG/commit/f7819aa3a49a9d8d92eed8251d82d6ebcafa8cba (opens in a new tab)
- github.com/HKUDS/LightRAG/releases/tag/v1.5.4 (opens in a new tab)