{"cve":"CVE-2025-6773","nvd":{"published":"2025-06-27T19:15:31.737","modified":"2026-06-17T10:02:32.740","status":"Deferred","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.8},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3},"cwes":["CWE-22"],"references":["https://github.com/HKUDS/LightRAG/commit/60777d535b719631680bcf5d0969bdef79ca4eaf","https://github.com/HKUDS/LightRAG/issues/1692","https://github.com/HKUDS/LightRAG/issues/1692#issuecomment-3009368235","https://vuldb.com/?ctiid.314089","https://vuldb.com/?id.314089"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:03:23.287444849+00:00"},"epss":{"cve":"CVE-2025-6773","score":0.00211,"percentile":0.11366,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v9w6-9hq9-33ch","url":"https://osv.dev/vulnerability/GHSA-v9w6-9hq9-33ch","summary":"HKUDS LightRAG allows Path Traversal via function upload_to_input_dir","modified":"2026-07-07T17:57:09.013178245Z","packages":[{"ecosystem":"PyPI","name":"lightrag-hku","purl":"pkg:pypi/lightrag-hku","ranges":["<1.3.8"],"fixed":["1.3.8"]}]},{"id":"PYSEC-2026-1539","url":"https://osv.dev/vulnerability/PYSEC-2026-1539","summary":"HKUDS LightRAG allows Path Traversal via function upload_to_input_dir","modified":"2026-07-07T17:46:51.288990689Z","packages":[{"ecosystem":"PyPI","name":"lightrag-hku","purl":"pkg:pypi/lightrag-hku","ranges":["<1.3.8"],"fixed":["1.3.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}