AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

LightRAGGHSA-v9w6-9hq9-33ch

HKUDS LightRAG allows Path Traversal via function upload_to_input_dir

LightRAG

CVE-2025-6773 · Published Jun 27, 2025 · updated Jul 7, 2026

Medium5.3
Fix: upgrade to 1.3.8 or later
GitHub advisory

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 versions

PackageAffectedFixed in
lightrag-hku
PyPI
< 1.3.81.3.8
Details and references

More LightRAG advisories

All LightRAG