CVE-2026-61736: LightRAG <= 1.5.3 - Credentialed CORS Wildcard
2026-09-16UnknownPoC Public
Description
LightRAG <= 1.5.4 contains a broken access control vulnerability caused by default CORS_ORIGINS=* with allow_credentials=True in lightrag_server.py, letting malicious websites perform authenticated API requests, exploit requires authenticated user.
PoC
id: CVE-2026-61736
info:
name: LightRAG <= 1.5.3 - Credentialed CORS Wildcard
author: str4k3r
severity: high
description: |
LightRAG <= 1.5.4 contains a broken access control vulnerability caused by default CORS_ORIGINS=* with allow_credentials=True in lightrag_server.py, letting malicious websites perform authenticated API requests, exploit requires authenticated user.
impact: |
Malicious websites can perform authenticated API requests to exfiltrate or delete data, leading to data loss and information disclosure.
remediation: |
Update to version 1.5.4 or later.
reference:
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-6x6h-qqr7-855w
- https://github.com/HKUDS/LightRAG/commit/09567a4c983f580050db63569dd477122c058c3d
- https://nvd.nist.gov/vuln/detail/CVE-2026-61736
classification:
cve-id: CVE-2026-61736
epss-score: 0.01422
epss-percentile: 0.71541
cwe-id: CWE-942
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
cvss-score: 9.3
metadata:
verified: true
max-request: 2
vendor: hkuds
product: lightrag
shodan-query: http.html:"LightRAG"
fofa-query: body="LightRAG"
tags: cve,cve2026,lightrag,cors,misconfig
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
redirects: true
max-redirects: 3
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_any(tolower(body), "lightrag", "light-rag", "knowledge graph")'
condition: and
internal: true
- raw:
- |
OPTIONS /query HTTP/1.1
Host: {{Hostname}}
Origin: {{cors_origin}}
Access-Control-Request-Method: POST
Access-Control-Request-Headers: authorization,content-type
payloads:
cors_origin:
- "https://{{tolower(rand_base(5))}}.com"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(tolower(header), "access-control-allow-origin: {{cors_origin}}")'
- 'contains(tolower(header), "access-control-allow-credentials: true")'
condition: and
# digest: 4a0a00473045022042b99545c15bf9e4e7ef7da0a5f230a63519f558b2bbb375a4dcc9722536169b02210083d9d2f8fcfd4ee649c8c7fdbd545f884000a40b41ec39933be1a85c45208cf7:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.