CVE-2025-6773
MEDIUMHKUDS LightRAG < 1.3.8 - Path Traversal via File Upload
Title source: llmDescription
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 (6)
Core 6
Core References
Permissions Required, VDB Entry vdb-entry
technical-description
https://vuldb.com/?id.314089
Permissions Required, VDB Entry signature
permissions-required
https://vuldb.com/?ctiid.314089
Permissions Required, VDB Entry third-party-advisory
https://vuldb.com/?submit.601276
Issue Tracking issue-tracking
https://github.com/HKUDS/LightRAG/issues/1692
Issue Tracking issue-tracking
https://github.com/HKUDS/LightRAG/issues/1692#issuecomment-3009368235
Scores
CVSS v3
5.3
EPSS
0.0005
EPSS Percentile
15.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (10)
HKUDS/LightRAG
1.3.0
HKUDS/LightRAG
1.3.1
HKUDS/LightRAG
1.3.2
HKUDS/LightRAG
1.3.3
HKUDS/LightRAG
1.3.4
HKUDS/LightRAG
1.3.5
HKUDS/LightRAG
1.3.6
HKUDS/LightRAG
1.3.7
HKUDS/LightRAG
1.3.8
pypi/lightrag-hku
0 - 1.3.8PyPI
Published
Jun 27, 2025
Tracked Since
Feb 18, 2026