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.72668 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: 490a00463044022020db7ed59acd5816bd3aee6a330fbe9883258ef262e3d8a51c74d6d9910fcbc002207fe083ab06c0e56ed437b77ed08469fccfaaa7627f0433aa8b18447f2900db38:922c64590222798bb761d5b6d8e72950