MediumVulnerability
CVE-2025-6773: HKUDS LightRAG path traversal in File Upload via file.filename
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-6773
- Published
- Record updated
- Affected
- lightrag-hku < 1.3.8
- Fixed in
- 1.3.8
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2025-6773 affects HKUDS LightRAG up to 1.3.8 and is rated critical. The upload_to_input_dir function in lightrag/api/routers/document_routes.py does not handle the file.filename argument safely, which leads to path traversal reachable from the local host.
Mitigation
The identifier of the patch is 60777d535b719631680bcf5d0969bdef79ca4eaf. It is recommended to apply a patch to fix this issue.
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database