LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
CVE-2026-61736Published 15 Jul 2026, 14:12 UTC
Real-world risk
5.6/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| LightRAGNiche | < 1.5.4 | 1.5.4 |
What to do
Update to a fixed version: 1.5.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
EPSS 1.1% chance of exploitation in 30 days (percentile 66), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T4: Weaponized1.000
- 10 × impact 0.8 × prerequisites 0.7 × threat 15.600
- Rounded to one decimal between 0.1 and 105.6
Exploitation and evidence timeline
- 15 Jul 2026 Published
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Risk 5.6 (cvss fallback)
Weakness
CWE-942
References
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-6x6h-qqr7-855wexploit, vendor-advisory
- https://github.com/HKUDS/LightRAG/pull/3317misc
- https://github.com/HKUDS/LightRAG/commit/09567a4c983f580050db63569dd477122c058c3dmisc
- https://github.com/HKUDS/LightRAG/commit/df68d75f9dc29dd340ffb6794b48f48c4fdc9a2dmisc
- https://github.com/HKUDS/LightRAG/commit/ebba6548639c0f2e8919100eff76b401f1222252misc
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.4misc
- CVE-2026-61736 on CVE.org