{"id":"CVE-2026-85709","state":"PUBLISHED","title":"LightRAG: Sensitive Information Exposure Through Raw Exception Messages in API Error Responses","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.","publishedAt":"2026-09-22T16:13:53.046Z","updatedAt":"2026-09-22T18:12:17.281Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["HKUDS LightRAG"],"affected":[{"vendor":"HKUDS","product":"LightRAG","versions":[{"version":"< 1.5.5","status":"affected"}]}],"references":["https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8","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/releases/tag/v1.5.5"],"weaknesses":["CWE-209"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85709.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85709","state":"PUBLISHED","datePublished":"2026-09-22T16:13:53.046Z","dateUpdated":"2026-09-22T18:12:17.281Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-04T14:45:10.647Z"},"containers":{"cna":{"title":"LightRAG: Sensitive Information Exposure Through Raw Exception Messages in API Error Responses","descriptions":[{"lang":"en","value":"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":[{"vendor":"HKUDS","product":"LightRAG","versions":[{"version":"< 1.5.5","status":"affected"}]}],"references":[{"url":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8","name":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/HKUDS/LightRAG/pull/3422","name":"https://github.com/HKUDS/LightRAG/pull/3422","tags":["x_refsource_MISC"]},{"url":"https://github.com/HKUDS/LightRAG/commit/4d90a0eb35d40b45f3a9045e308ec126897a3364","name":"https://github.com/HKUDS/LightRAG/commit/4d90a0eb35d40b45f3a9045e308ec126897a3364","tags":["x_refsource_MISC"]},{"url":"https://github.com/HKUDS/LightRAG/commit/dcab315d7dc1eea682e9b2c4fcb1b06474484c47","name":"https://github.com/HKUDS/LightRAG/commit/dcab315d7dc1eea682e9b2c4fcb1b06474484c47","tags":["x_refsource_MISC"]},{"url":"https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5","name":"https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-209","lang":"en","description":"CWE-209: Generation of Error Message Containing Sensitive Information","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-22T16:13:53.046Z"},"source":{"advisory":"GHSA-hrmj-7rvj-4hg8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-hrmj-7rvj-4hg8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-22T18:11:51.350421Z","id":"CVE-2026-85709","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-22T18:12:17.281Z"}}]}}}