Advisory

GHSA-v9w6-9hq9-33ch

Also known as: CVE-2025-6773, PYSEC-2026-1539

Summary

HKUDS LightRAG allows Path Traversal via function upload_to_input_dir

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-27 21:30 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

lightrag-hku

PyPI · All systems

Affected

  • introduced 0, fixed 1.3.8 (ecosystem)

Fixed versions

1.3.8

Fix

  • Fixed version 1.3.8
    pip install --upgrade lightrag-hku==1.3.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences