CVE-2025-6773
CVE-2025-6773 · HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 4.8 · Medium · EPSS 0.2% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
lightrag
- Versions
- 1.3.0: Affected
- 1.3.1: Affected
- 1.3.2: Affected
- 1.3.3: Affected
- 1.3.4: Affected
- 1.3.5: Affected
- 1.3.6: Affected
- 1.3.7: Affected
- 1.3.8: Affected
No fix published
lightrag-hku PyPI
- Versions
- 0.0.2
- 0.0.3
- 0.0.4
- 0.0.5
- 0.0.6
- 0.0.7
- 0.0.8
- 0.0.9
- 1.0.0
- 1.0.1
- 1.0.3
- 1.0.5
- 1.0.6
- 1.0.8
- 1.0.9
- 1.1.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.1.6
- 1.1.7
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.5
- 1.2.6
- 1.3.0
- 1.3.1
- 1.3.2
- 1.3.3
- 1.3.4
- 1.3.5
- 1.3.6
- 1.3.7
- Affected ranges
- ECOSYSTEM: < 1.3.8
Update to 1.3.8
Original sources
- https://vuldb.com/?id.314089
- https://vuldb.com/?ctiid.314089
- https://vuldb.com/?submit.601276
- https://github.com/HKUDS/LightRAG/issues/1692
- https://github.com/HKUDS/LightRAG/issues/1692#issuecomment-3009368235
- https://github.com/HKUDS/LightRAG/commit/60777d535b719631680bcf5d0969bdef79ca4eaf
- https://nvd.nist.gov/vuln/detail/CVE-2025-6773