CVE-2026-86062HKUDS LightRAG
Medium 6.1 No auth needed
Follow: this CVE · HKUDS · HKUDS LightRAG We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 22, 2026
- Updated
- Sep 22, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, lightrag_webui/src/components/retrieval/ChatMessage.tsx renders answer and thinking content with react-markdown, rehypeRaw, and skipHtml=false without an HTML sanitizer. An attacker who can add a document can store raw HTML that is returned through the query path and rendered as active content by MessageMarkdown. A user who later retrieves the content can execute attacker-controlled JavaScript through elements such as an iframe srcdoc; the additional Mermaid securityLevel: loose rendering path also injects generated SVG through innerHTML. The script runs in the LightRAG WebUI origin and can read the API token in localStorage and perform API actions as the victim. This issue is fixed in version 1.5.5.
What to do
- Apply the vendor's security update for LightRAG.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | lightrag-hku |
< 1.5.5 |
1.5.5 |
pip install "lightrag-hku>=1.5.5" |
| PyPI | lightrag-hku |
< 1.5.5 |
1.5.5 |
pip install "lightrag-hku>=1.5.5" |
Per OSV / GitHub Advisories (GHSA-xpjq-3w4w-w5wr, PYSEC-2026-4065). Check the version in your lockfile before upgrading.
Affected products
- HKUDS · LightRAG
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.