Skip to content
OpenAdvisories
Critical · 9.3 Scanner template CVE-2026-61736 EUVD-2026-44670GHSA-6x6h-qqr7-855wPYSEC-2026-3474

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

Published Jul 15, 2026 · Updated Jul 15, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
HKUDS LightRAG < 1.5.4 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lightrag-hku < 1.5.4 1.5.4 GHSA-6x6h-qqr7-855w

References