Path traversalin HKUDS LightRAG.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- Upgrade lightrag-hku (PyPI) to 1.3.8 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 27 Jun 2025CVE ID reserved by VulDB.
- 27 Jun 2025Published in the CVE List.
- 27 Jun 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other LightRAG vulnerabilities
Same weakness: Path traversal
- vuldb.com vdb-entry, technical-description
- vuldb.com signature, permissions-required
- vuldb.com third-party-advisory
- github.com issue-tracking
- github.com issue-tracking
- github.com patch
Patchminder. CVE-2025-6773: Path traversal in HKUDS LightRAG. https://patchminder.com/cve/cve-2025-6773/ (accessed 5 December 2026).