What’s Vulnerable › Vulnerabilities
CVE-2025-6773: HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-27 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- HKUDS LightRAG: 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5 (+3)
References
- https://github.com/HKUDS/LightRAG/commit/60777d535b719631680bcf5d0969bdef79ca4eaf
- https://github.com/HKUDS/LightRAG/issues/1692
- https://github.com/HKUDS/LightRAG/issues/1692#issuecomment-3009368235
- https://vuldb.com/?ctiid.314089
- https://vuldb.com/?id.314089
- https://vuldb.com/?submit.601276
Get alerted when CVE-2025-6773 or the next vulnerability affects your stack