Quick answers
- Is CVE-2026-85709 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-85709 being exploited in the wild.
- How severe is CVE-2026-85709?
- Medium severity, with a CVSS score of 5.3, published 22 September 2026.
- Which products and versions are affected?
- HKUDS LightRAG main branch prior to commit 3422; lightrag-hku (PyPI) <= 1.5.4, ECOSYSTEM:introduced=0,fixed=1.5.5.
- Is there a fix for CVE-2026-85709?
- Yes. lightrag-hku (PyPI): upgrade to 1.5.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-85709 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-85709?
- Check whether you run HKUDS LightRAG or lightrag-hku (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- lightrag-hku (PyPI): upgrade to 1.5.5 or later
pip install "lightrag-hku>=1.5.5"
Technical details
The vulnerability is an information disclosure flaw (CWE-209 / CWE-215) in which exception handlers across 30+ API routes directly pass raw exception strings to HTTP error responses via `detail=str(e)` patterns instead of returning generic error messages. The root cause is insufficient input validation and exception sanitization in error handling logic. An unauthenticated network client can trigger exceptions (e.g., by requesting endpoints when storage backends are unavailable or misconfigured) to extract filesystem paths, database host/port/user/database names, LLM provider details, and Python stack traces. For URI-configured backends such as MongoDB, malformed configuration errors can expose the full connection string including embedded credentials. The fix involves replacing all raw exception passthrough with generic error messages, logging full exception details server-side, and implementing a global exception handler as defense-in-depth.
Affected products
- HKUDS LightRAG main branch prior to commit 3422
Identifiers
- CVE-2026-85709
- GHSA-hrmj-7rvj-4hg8
- PYSEC-2026-4063
Timeline
- 2026-09-22: disclosed
- 2026-09-22: patched: fix implemented in HKUDS/LightRAG#3422