CVE-2026-61736: HKUDS LightRAG · Permissive Cross-domain Policy with Untrusted Domains
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.4% chance of exploitation in 30 days – higher than 73% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.5.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Jul 2026
Detectable: evidence found.
nuclei template: LightRAG <= 1.5.3 - Credentialed CORS Wildcard
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
Upgrade LightRAG to version 1.5.4 or later, where the default CORS configuration is corrected to prevent credentialed cross-origin requests from all origins. Until upgraded, restrict CORS_ORIGINS to trusted domains and avoid allowing credentials with wildcard origins.
Description
LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.4, the server defaults to CORS_ORIGINS=* combined with allow_credentials=True in lightrag/api/lightrag_server.py, causing Starlette CORSMiddleware to effectively whitelist every origin for credentialed cross-origin requests. Any malicious website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating documents and knowledge graph data or performing destructive actions such as deleting the document store. This vulnerability is fixed in 1.5.4.
References
- github.com/HKUDS/LightRAG/security/advisories/GHSA-6x6h-qqr7-855w (opens in a new tab)
- github.com/HKUDS/LightRAG/pull/3317 (opens in a new tab)
- github.com/HKUDS/LightRAG/commit/09567a4c983f580050db63569dd477122c058c3d (opens in a new tab)
- github.com/HKUDS/LightRAG/commit/df68d75f9dc29dd340ffb6794b48f48c4fdc9a2d (opens in a new tab)
- github.com/HKUDS/LightRAG/commit/ebba6548639c0f2e8919100eff76b401f1222252 (opens in a new tab)
- github.com/HKUDS/LightRAG/releases/tag/v1.5.4 (opens in a new tab)