Skip to main content
← All vulnerabilities
CVE-2026-61736GHSA-6X6H-QQR7-855WPYSEC-2026-3474

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.4
1 Nuclei template
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • HKUDS LightRAG

    fixed in 1.5.4

  • lightrag-hkuPyPI

    fixed in 1.5.4

References 7

GitHub · HKUDS/LightRAG

GitHub · projectdiscovery/nuclei-templates