Skip to content

LightRAG

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

CVE-2026-61736Published 15 Jul 2026, 14:12 UTC

Real-world risk

5.6/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.3

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
LightRAGNiche< 1.5.41.5.4

What to do

Update to a fixed version: 1.5.4.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)
  • Reference tagged as exploit (link)

EPSS 1.1% chance of exploitation in 30 days (percentile 66), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.700
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.8 × prerequisites 0.7 × threat 15.600
  4. Rounded to one decimal between 0.1 and 105.6

How the score works

Exploitation and evidence timeline

  1. 15 Jul 2026 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 Reference tagged as exploit first seen
  4. 3 Dec 2026 Risk 5.6 (cvss fallback)

Weakness

CWE-942

References

Get alerts for LightRAG

Free email or text alerts when a vulnerability in LightRAG reaches risk 8 or higher. Nothing else.