# CVE-2026-85709: LightRAG: Sensitive Information Exposure Through Raw Exception Messages in API Error Responses

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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): 0.42%, higher than 28% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-22T16:13:53.046Z
- Modified: 2026-10-01T17:56:20.307Z
- Also known as: GHSA-hrmj-7rvj-4hg8, PYSEC-2026-4063
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, the LightRAG API server returns raw Python exception text from error handlers in document_routes.py, graph_routes.py, query_routes.py, ollama_api.py, and lightrag_server.py. The detail=str(e), detail=str(exc), and equivalent formatted-message paths expose server filesystem paths, database host, port, user, and database names, language-model provider diagnostics, configuration details, and Python library internals to a network client that can trigger an error. The default unauthenticated configuration makes those responses reachable without credentials, and URI-configured backends can disclose connection strings containing credentials depending on the underlying driver error. This issue is fixed in version 1.5.5.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8> (exploit, web)
- <https://github.com/HKUDS/LightRAG/pull/3422> (web)
- <https://github.com/HKUDS/LightRAG/commit/4d90a0eb35d40b45f3a9045e308ec126897a3364> (web)
- <https://github.com/HKUDS/LightRAG/commit/dcab315d7dc1eea682e9b2c4fcb1b06474484c47> (web)
- <https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85709> (advisory)
- <https://github.com/HKUDS/LightRAG> (package)
- <https://pypi.org/project/lightrag-hku> (package)
- <https://github.com/advisories/GHSA-hrmj-7rvj-4hg8> (advisory)

## Sources

- CVE List: [CVE-2026-85709](https://www.cve.org/CVERecord?id=CVE-2026-85709), CVE Terms of Use, modified 2026-09-22
- GitHub Advisory Database: [GHSA-hrmj-7rvj-4hg8](https://github.com/advisories/GHSA-hrmj-7rvj-4hg8), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-85709](https://nvd.nist.gov/vuln/detail/CVE-2026-85709), Public domain, modified 2026-09-22
- PyPA Advisory Database: [PYSEC-2026-4063](https://osv.dev/vulnerability/PYSEC-2026-4063), CC-BY-4.0, modified 2026-10-01

---

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