Skip to content
MediumVulnerability

CVE-2025-6773: HKUDS LightRAG path traversal in File Upload via file.filename

Identifier
CVE-2025-6773
Published
Record updated
View JSON
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.