CVE-2026-61736CWE-942

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

Critical · published July 15, 2026

CVSS v3.1
9.3
EPSS
1%
Percentile
72.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01422 · 72.7th percentile
Weakness
CWE-942 · Permissive Cross-domain Security Policy with Untrusted Domains
Published
2026-07-15T14:12Z
EPSS history
Timeline
  • 15 JUL 14:12Z
    LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
    cvelistv5