CVE-2026-61736
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
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.
INFO
Published Date :
July 15, 2026, 3:16 p.m.
Last Modified :
July 15, 2026, 6:15 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update LightRAG to version 1.5.4.
- Configure CORS origins properly.
- Avoid using `CORS_ORIGINS=*` with `allow_credentials=True`.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-61736.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-61736 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-61736
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-61736 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-61736 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 15, 2026
Action Type Old Value New Value Added Reference https://github.com/HKUDS/LightRAG/security/advisories/GHSA-6x6h-qqr7-855w Added SSVC {'id': 'CVE-2026-61736', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-07-15T14:59:36.894491Z'} -
New CVE Received by [email protected]
Jul. 15, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'HKUDS', 'product': 'LightRAG', 'versions': [{'status': 'affected', 'version': '< 1.5.4'}]}] Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N Added CWE CWE-942 Added Reference https://github.com/HKUDS/LightRAG/commit/09567a4c983f580050db63569dd477122c058c3d Added Reference https://github.com/HKUDS/LightRAG/commit/df68d75f9dc29dd340ffb6794b48f48c4fdc9a2d Added Reference https://github.com/HKUDS/LightRAG/commit/ebba6548639c0f2e8919100eff76b401f1222252 Added Reference https://github.com/HKUDS/LightRAG/pull/3317 Added Reference https://github.com/HKUDS/LightRAG/releases/tag/v1.5.4 Added Reference https://github.com/HKUDS/LightRAG/security/advisories/GHSA-6x6h-qqr7-855w