patchminder
Proof of concept · CISA assessment CVE-2025-6773

Path traversalin HKUDS LightRAG.

Published 27 Jun 2025 · Updated 27 Jun 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Medium 5.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.3.8 or later
In plain words

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.

What to do now
  • Upgrade lightrag-hku (PyPI) to 1.3.8 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
LightRAG
1.3.0
Not confirmed
CVE record
LightRAG
1.3.1
Not confirmed
CVE record
LightRAG
1.3.2
Not confirmed
CVE record
LightRAG
1.3.3
Not confirmed
CVE record
LightRAG
1.3.4
Not confirmed
CVE record
LightRAG
1.3.5
Not confirmed
CVE record
LightRAG
1.3.6
Not confirmed
CVE record
LightRAG
1.3.7
Not confirmed
CVE record
LightRAG
1.3.8
Not confirmed
CVE record
lightrag-hku (PyPI)
before 1.3.8
1.3.8
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 27 Jun 2025
    CVE ID reserved by VulDB.
  2. 27 Jun 2025
    Published in the CVE List.
  3. 27 Jun 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other LightRAG vulnerabilities

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-6773: Path traversal in HKUDS LightRAG. https://patchminder.com/cve/cve-2025-6773/ (accessed 5 December 2026).