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.
Published: 2026-09-22
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Sensitive Information Exposure
Action: Apply Patch
AI Analysis

Impact

LightRAG’s API server displayed raw Python exception text in several error handlers prior to version 1.5.5. When errors were raised, the exception details, including server file paths, database connection information, language‑model provider diagnostics, and internal library data, were returned to the requesting client. This disclosure provided an attacker with sensitive configuration data and environmental details that could facilitate further attacks, such as guessing credentials or crafting targeted exploits.

Affected Systems

All releases of the HKUDS LightRAG product before v1.5.5 are affected, including the components document_routes.py, graph_routes.py, query_routes.py, ollama_api.py, and lightrag_server.py. The vulnerability exists in the default unauthenticated configuration and also in setups where backend drivers expose connection strings through error messages. Users running any pre‑1.5.5 LightRAG instance should consider the upgrade immediately.

Risk and Exploitability

The CVSS base score of 5.3 indicates moderate severity, but the attack can be performed over the network without authentication due to the default public API. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a client sending malformed or unexpected data to trigger an exception, after which the server returns the raw error payload containing sensitive information.

Generated by OpenCVE AI on September 22, 2026 at 17:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LightRAG to v1.5.5 or later where the API no longer returns raw exception data.
  • If an upgrade is not immediately possible, restrict API access to authenticated users or limit exposure to trusted networks.
  • In production, disable detailed exception output or configure the server to return generic error messages instead of raw Python tracebacks.

Generated by OpenCVE AI on September 22, 2026 at 17:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Hkuds
Hkuds lightrag
Vendors & Products Hkuds
Hkuds lightrag

Tue, 22 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title LightRAG: Sensitive Information Exposure Through Raw Exception Messages in API Error Responses
Weaknesses CWE-209
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-22T16:13:53.046Z

Reserved: 2026-09-04T14:45:10.647Z

Link: CVE-2026-85709

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-22T17:17:27.020

Modified: 2026-09-22T17:17:27.167

Link: CVE-2026-85709

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T17:30:18Z

Weaknesses
  • CWE-209

    Generation of Error Message Containing Sensitive Information