# CVE-2026-61736: LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-15T14:12:45.960Z
- Modified: 2026-10-24T21:10:00.130Z
- Also known as: GHSA-6x6h-qqr7-855w, PYSEC-2026-3474
- Weaknesses: CWE-942
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- HKUDS LightRAG: < 1.5.4
- lightrag-hku (PyPI): before 1.5.4

## Every score

- GitHub_M: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/HKUDS/LightRAG/security/advisories/GHSA-6x6h-qqr7-855w> (exploit, web)
- <https://github.com/HKUDS/LightRAG/pull/3317> (web)
- <https://github.com/HKUDS/LightRAG/commit/09567a4c983f580050db63569dd477122c058c3d> (web)
- <https://github.com/HKUDS/LightRAG/commit/df68d75f9dc29dd340ffb6794b48f48c4fdc9a2d> (web)
- <https://github.com/HKUDS/LightRAG/commit/ebba6548639c0f2e8919100eff76b401f1222252> (web)
- <https://github.com/HKUDS/LightRAG/releases/tag/v1.5.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61736> (advisory)
- <https://github.com/HKUDS/LightRAG> (package)
- <https://pypi.org/project/lightrag-hku> (package)
- <https://github.com/advisories/GHSA-6x6h-qqr7-855w> (advisory)

## Sources

- CVE List: [CVE-2026-61736](https://www.cve.org/CVERecord?id=CVE-2026-61736), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-6x6h-qqr7-855w](https://github.com/advisories/GHSA-6x6h-qqr7-855w), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-61736](https://nvd.nist.gov/vuln/detail/CVE-2026-61736), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3474](https://osv.dev/vulnerability/PYSEC-2026-3474), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-61736 · Whole record: https://cve.day/CVE-2026-61736.json · Rebuilt by cve.day 2026-11-25T22:59:28.294Z
