---
id: CVE-2026-85709
title: LightRAG provides simple and fast retrieval-augmented generation
summary: >-
  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 l…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-209
vendor: HKUDS
product: LightRAG
affected:
  - LightRAG < 1.5.5
published: '2026-09-22'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T19:16:54.750'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85709'
references:
  - url: >-
      https://github.com/HKUDS/LightRAG/commit/4d90a0eb35d40b45f3a9045e308ec126897a3364
    label: security-advisories@github.com
  - url: >-
      https://github.com/HKUDS/LightRAG/commit/dcab315d7dc1eea682e9b2c4fcb1b06474484c47
    label: security-advisories@github.com
  - url: 'https://github.com/HKUDS/LightRAG/pull/3422'
    label: security-advisories@github.com
  - url: 'https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5'
    label: security-advisories@github.com
  - url: 'https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8'
    label: security-advisories@github.com
  - url: 'https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85709'
  - url: 'https://github.com/advisories/GHSA-hrmj-7rvj-4hg8'
  - url: 'https://github.com/HKUDS/LightRAG'
tags:
  - nvd
  - cve.org
  - exploit-available
  - ghsa
  - pip
  - osv
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-22T18:11:51.350421Z'
ingestedAt: '2026-09-22T17:07:07.385Z'
aliases:
  - GHSA-hrmj-7rvj-4hg8
ecosystem: pip
patched:
  - lightrag-hku 1.5.5
epss: 0.00386
epssPercentile: 0.29869
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-85709)

Affected packages:

- `lightrag-hku <= 1.5.4`

Patched in:

- `lightrag-hku 1.5.5`

Source: https://github.com/advisories/GHSA-hrmj-7rvj-4hg8
