CVE-2026-61736

LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests

State
Published
Severity
9.3 Critical
Published
Jul 15, 2026
Updated
Jul 15, 2026
Reserved
Jul 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.3 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-942 Permissive Cross-domain Policy with Untrusted Domains

Affected Products

ProductVersions
LightRAGHKUDS
  • < 1.5.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.