Home / HKUDS / LightRAG / CVE-2026-86062
CVE-2026-86062: is it exploited, and which versions of HKUDS LightRAG are affected and fixed?
CVE-2026-86062 is a cross-site scripting (XSS) vulnerability in HKUDS LightRAG. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: lightrag-hku before 1.5.5 (GitHub advisory GHSA-xpjq-3w4w-w5wr). Fixed in 1.5.5 (GitHub advisory GHSA-xpjq-3w4w-w5wr). Severity: Medium (6.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-86062?
LightRAG: Stored Cross-Site Scripting (XSS) in the LightRAG WebUI chat/answer renderer via ingested content
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.
From the CVE record by GitHub_M, last updated September 22, 2026, 18:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| HKUDS | LightRAG | < 1.5.5 |
As the CVE record by GitHub_M states it, last updated September 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | lightrag-hku | < 1.5.5 | 1.5.5 | GHSA-xpjq-3w4w-w5wr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 22, 2026. Summary: lightrag-hku: Stored Cross-Site Scripting (XSS) in the LightRAG WebUI chat/answer renderer via ingested content.
How severe is CVE-2026-86062?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-86062 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 22, 2026)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-xpjq-3w4w-w5wr x_refsource_CONFIRM
- https://github.com/HKUDS/LightRAG/pull/3437 x_refsource_MISC
- https://github.com/HKUDS/LightRAG/commit/8bf032a5200f293b482dd945d436e25cd08bd953 x_refsource_MISC
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 4, 2026
- Published
- September 22, 2026, 16:21 UTC
- CVE record updated
- September 22, 2026, 18:17 UTC by GitHub_M
- NVD
- Deferred, last modified September 22, 2026, 19:16 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect LightRAG?
- Nov 26, 2026CVE-2026-114507 HKUDS LightRAG: acceptance of Extraneous Untrusted Data With Trusted Data
- Sep 22, 2026CVE-2026-85740 HKUDS LightRAG: server-side request forgery (SSRF)
- Sep 22, 2026CVE-2026-85734 HKUDS LightRAG: no limit on login attempts (brute force)
- Sep 22, 2026CVE-2026-85725 HKUDS LightRAG: timing side channel
- Sep 22, 2026CVE-2026-85709 HKUDS LightRAG: information disclosure in error messages
- Aug 7, 2026CVE-2026-61808 HKUDS LightRAG: missing authentication for a critical function
- Jul 15, 2026CVE-2026-61740 HKUDS LightRAG: authentication bypass (improper authentication)
- Jul 15, 2026CVE-2026-61736 HKUDS LightRAG: permissive Cross-domain Security Policy with Untrusted Domains
Questions about CVE-2026-86062
Is CVE-2026-86062 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of HKUDS LightRAG are affected by CVE-2026-86062?
lightrag-hku before 1.5.5, per the GitHub advisory GHSA-xpjq-3w4w-w5wr. The tables above give every range the sources list.
Which version fixes CVE-2026-86062?
1.5.5, per the GitHub advisory GHSA-xpjq-3w4w-w5wr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-86062?
Medium (6.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-86062?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.