CVE-2026-85709
MEDIUM 5.3CVSS 3.1lightrag-hku: Sensitive Information Exposure Through Raw Exception Messages in API Error Responses
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.
- Published
- 22 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-209
- Also known as
- GHSA-hrmj-7rvj-4hg8PYSEC-2026-4063
- Sources
- NVDJSONOSV GHSA-hrmj-7rvj-4hg8JSONOSV PYSEC-2026-4063JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | lightrag-hku | < 1.5.5 | 1.5.5 |
References
- https://github.com/HKUDS/LightRAG/commit/4d90a0eb35d40b45f3a9045e308ec126897a3364 · WEB
- https://github.com/HKUDS/LightRAG/commit/dcab315d7dc1eea682e9b2c4fcb1b06474484c47 · WEB
- https://github.com/HKUDS/LightRAG/pull/3422 · WEB
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5 · WEB
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8 · 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
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 22 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Sep 2026)