CVE-2025-6773: HKUDS LightRAG · Path Traversal
Affects HKUDS LightRAGSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:XExploitation evidence
Disclosed: evidence found.
CVE published 27 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubhkuds/LightRAGpkg:github/hkuds/LightRAGOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Immediately apply the official patch identified by commit 60777d535b719631680bcf5d0969bdef79ca4eaf to all affected LightRAG installations to fix the path traversal vulnerability. 2. Restrict local access to systems running LightRAG to trusted users only, enforcing strict user authentication and authorization policies. 3. Implement file system monitoring and integrity checking on directories used by LightRAG to detect unauthorized file writes or modifications. 4. Employ application-level input validation and sanitization for file upload functionality to prevent malicious filename manipulation. 5. Use containerization or sandboxing techniques to isolate LightRAG processes, limiting the impact of potential exploitation. 6. Conduct regular security audits and penetration testing focusing on local privilege escalation and file upload mechanisms. 7. Educate internal users about the risks of local exploitation and enforce endpoint security best practices to reduce insider threat risks.
Description
A vulnerability was found in HKUDS LightRAG up to 1.3.8. It has been declared as critical. Affected by this vulnerability is the function upload_to_input_dir of the file lightrag/api/routers/document_routes.py of the component File Upload. The manipulation of the argument file.filename leads to path traversal. It is possible to launch the attack on the local host. The identifier of the patch is 60777d535b719631680bcf5d0969bdef79ca4eaf. It is recommended to apply a patch to fix this issue.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/HKUDS/LightRAG/issues/1692 (opens in a new tab)
- github.com/HKUDS/LightRAG/issues/1692 (opens in a new tab)
- github.com/HKUDS/LightRAG/commit/60777d535b719631680bcf5d0969bdef79ca4eaf (opens in a new tab)