Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-61736: CWE-942: Permissive Cross-domain Policy with Untrusted Domains in HKUDS LightRAG

0
Critical
VulnerabilityCVE-2026-61736cvecve-2026-61736cwe-942
Published: 07/15/2026 (07/15/2026, 14:12:45 UTC)
Source: CVE Database V5
Vendor/Project: HKUDS
Product: LightRAG

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.

CVSS v3.1

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
hkuds/LightRAG
pkg:github/hkuds/LightRAG
Affected versions
<1.5.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 15:03:22 UTC

Technical Analysis

CVE-2026-61736 is a critical vulnerability in HKUDS LightRAG where, before version 1.5.4, the server defaults to CORS_ORIGINS=* combined with allow_credentials=True in the lightrag/api/lightrag_server.py file. This configuration causes the Starlette CORSMiddleware to whitelist all origins for credentialed cross-origin requests, effectively allowing any website visited by an authenticated user to silently make authenticated API requests. Exploitation can lead to exfiltration of sensitive documents and knowledge graph data or destructive actions such as deleting the document store. The issue is addressed in LightRAG version 1.5.4.

Potential Impact

An attacker controlling a malicious website can exploit this vulnerability by tricking an authenticated LightRAG user into visiting the site, enabling the attacker to perform unauthorized API requests with the user's credentials. This can result in high confidentiality and integrity impact, including data theft and deletion of critical data stores. Availability impact is not indicated.

Mitigation Recommendations

Upgrade LightRAG to version 1.5.4 or later, where the default CORS configuration is corrected to prevent credentialed cross-origin requests from all origins. Since no official patch link or advisory is provided, verify the upgrade path with the vendor or official repositories. Until upgraded, restrict CORS_ORIGINS to trusted domains and avoid allowing credentials with wildcard origins.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-10T18:59:00.047Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a579dd068715ace43e954cf

Added to database: 07/15/2026, 14:48:48 UTC

Last enriched: 07/15/2026, 15:03:22 UTC

Last updated: 07/15/2026, 15:33:18 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses