CVE-2025-6773
4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| HKUDS | LightRAG | 1.3.0 | affected |
| HKUDS | LightRAG | 1.3.1 | affected |
| HKUDS | LightRAG | 1.3.2 | affected |
| HKUDS | LightRAG | 1.3.3 | affected |
| HKUDS | LightRAG | 1.3.4 | affected |
| HKUDS | LightRAG | 1.3.5 | affected |
| HKUDS | LightRAG | 1.3.6 | affected |
| HKUDS | LightRAG | 1.3.7 | affected |
| HKUDS | LightRAG | 1.3.8 | affected |
Weaknesses
- CWE-22: Path Traversal
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.