HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal
Published Jun 27, 2025
4.8
MEDIUMCVSS 4.0
EPSS 0.21%
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
-
- Version 1.3.0StatusaffectedConstraints-
- Version 1.3.1StatusaffectedConstraints-
- Version 1.3.2StatusaffectedConstraints-
- Version 1.3.3StatusaffectedConstraints-
- Version 1.3.4StatusaffectedConstraints-
- Version 1.3.5StatusaffectedConstraints-
- Version 1.3.6StatusaffectedConstraints-
- Version 1.3.7StatusaffectedConstraints-
- Version 1.3.8StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-19421 Advisory
- https://github.com/HKUDS/LightRAG/commit/60777d535b719631680bcf5d0969bdef79ca4eaf patch
- https://github.com/HKUDS/LightRAG/issues/1692 issue-tracking
- https://github.com/HKUDS/LightRAG/issues/1692#issuecomment-3009368235 issue-tracking
- https://github.com/advisories/GHSA-v9w6-9hq9-33ch Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-6773
- https://vuldb.com/?ctiid.314089 signaturepermissions-required
- https://vuldb.com/?id.314089 vdb-entrytechnical-description
- https://vuldb.com/?submit.601276 third-party-advisory
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-19421 | Advisory | |
| https://github.com/HKUDS/LightRAG/commit/60777d535b719631680bcf5d0969bdef79ca4eaf | patch | |
| https://github.com/HKUDS/LightRAG/issues/1692 | issue-tracking | |
| https://github.com/HKUDS/LightRAG/issues/1692#issuecomment-3009368235 | issue-tracking | |
| https://github.com/advisories/GHSA-v9w6-9hq9-33ch | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-6773 | ||
| https://vuldb.com/?ctiid.314089 | signaturepermissions-required | |
| https://vuldb.com/?id.314089 | vdb-entrytechnical-description | |
| https://vuldb.com/?submit.601276 | third-party-advisory |
Change history (0)
No recorded changes yet.