Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-6773 EUVD-2025-19421GHSA-v9w6-9hq9-33chPYSEC-2026-1539

HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal

Published Jun 27, 2025 · Updated Jun 27, 2025 · Assigned by VulDB

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

VendorProductAffectedFixed
HKUDS LightRAG 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lightrag-hku < 1.3.8 1.3.8 GHSA-v9w6-9hq9-33ch

References