Skip to main content
VulnerabilityPublished

CVE-2026-61740: HKUDS LightRAG · Improper Authentication

Affects HKUDS LightRAGSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 2026

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq 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

ProductAffectedFixed in
HKUDSLightRAGAffected
  • <1.5.4
Fixed in
  • 1.5.4
PyPIlightrag-hkupkg:pypi/lightrag-hkuOther threatsAffected
  • <1.5.4
Fixed in
  • 1.5.4

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

Community reviews

Loading reviews…