CVE-2025-6773

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

VendorProductVersion RangeStatus
HKUDSLightRAG1.3.0affected
HKUDSLightRAG1.3.1affected
HKUDSLightRAG1.3.2affected
HKUDSLightRAG1.3.3affected
HKUDSLightRAG1.3.4affected
HKUDSLightRAG1.3.5affected
HKUDSLightRAG1.3.6affected
HKUDSLightRAG1.3.7affected
HKUDSLightRAG1.3.8affected

Weaknesses

  • CWE-22: Path Traversal

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

References