HKUDS LightRAG
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.5.4
Fixed in 1.5.4
Mitigation
Upgrade LightRAG to 1.5.4 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 61 days after publication; not in CISA KEV. First PoC: nuclei template: LightRAG <= 1.5.3 - Credentialed CORS Wildcard (nuclei template, 14 Sep 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: LightRAG <= 1.5.3 - Credentialed CORS Wildcard | 14 Sep 2026 | 14 Nov 2026 |