# lightrag-hku: Sensitive Information Exposure Through Raw Exception Messages in API Error Responses

Advisory record · `GHSA-hrmj-7rvj-4hg8`

- **Identifiers:** `GHSA-hrmj-7rvj-4hg8` · `CVE-2026-85709` · `PYSEC-2026-4063`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-209](https://cwe.mitre.org/data/definitions/209.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 22 Sept 2026
- **Updated:** 1 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 22 Sept 2026, 20:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `lightrag-hku` (PyPI): affected `<1.5.5`; fixed in `1.5.5`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> lightrag-hku versions before 1.5.5 pass raw Python exception messages into HTTP error responses across many API route handlers. A network-reachable client, without credentials under the default configuration, can trigger these errors and read details such as server filesystem paths, database host, port and user, LLM provider details, and library internals. Upgrade to lightrag-hku 1.5.5 or later.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0042, the 36th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:09 UTC: First seen by agentprime
- 31 Oct 2026, 14:09 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hrmj-7rvj-4hg8)

## Sources

- [GitHub Advisory Database: GHSA-hrmj-7rvj-4hg8](https://github.com/advisories/GHSA-hrmj-7rvj-4hg8)
- [OSV: GHSA-hrmj-7rvj-4hg8](https://osv.dev/vulnerability/GHSA-hrmj-7rvj-4hg8)
- <https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85709>
- <https://github.com/HKUDS/LightRAG/pull/3422>
- <https://github.com/HKUDS/LightRAG/commit/4d90a0eb35d40b45f3a9045e308ec126897a3364>
- <https://github.com/HKUDS/LightRAG/commit/dcab315d7dc1eea682e9b2c4fcb1b06474484c47>
- <https://github.com/HKUDS/LightRAG>
- <https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hrmj-7rvj-4hg8>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hrmj-7rvj-4hg8/>. Everything for agents: <https://agentprime.io/llms.txt>.
