Path Traversal Vulnerability in HKUDS LightRAG File Upload
CVE-2025-6773
4.8MEDIUM
What is CVE-2025-6773?
A path traversal vulnerability exists in HKUDS LightRAG versions up to 1.3.8 which affects the file upload functionality. Specifically, the vulnerability lies in the 'upload_to_input_dir' function within the 'document_routes.py' file. Maliciously crafted filenames can be exploited to traverse the directory structure, potentially allowing unauthorized access to the file system on the local server. To mitigate this issue, applying the available patch is strongly advised.
Affected Version(s)
LightRAG 1.3.0
LightRAG 1.3.1
LightRAG 1.3.2