Vulnerability · Published Sep 22, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity security flaw in LightRAG from HKUDS. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 63.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlightrag-hku1.5.5GHSA-hrmj-7rvj-4hg8
PyPIlightrag-hku1.5.5PYSEC-2026-4063

Affected products (as reported)

VendorProductVersions
HKUDS LightRAG < 1.5.5

Weakness: CWE-209 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References