Skip to main content
CVE-2025-6773VulnerabilityPublished

CVE-2025-6773: HKUDS LightRAG · Path Traversal

Affects HKUDS LightRAGSource CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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/E:X

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubhkuds/LightRAGpkg:github/hkuds/LightRAGOther threatsAffected
  • =1.3.0
  • =1.3.1
  • =1.3.2
  • =1.3.3
  • =1.3.4
  • =1.3.5
  • =1.3.6
  • =1.3.7
  • =1.3.8
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediately apply the official patch identified by commit 60777d535b719631680bcf5d0969bdef79ca4eaf to all affected LightRAG installations to fix the path traversal vulnerability. 2. Restrict local access to systems running LightRAG to trusted users only, enforcing strict user authentication and authorization policies. 3. Implement file system monitoring and integrity checking on directories used by LightRAG to detect unauthorized file writes or modifications. 4. Employ application-level input validation and sanitization for file upload functionality to prevent malicious filename manipulation. 5. Use containerization or sandboxing techniques to isolate LightRAG processes, limiting the impact of potential exploitation. 6. Conduct regular security audits and penetration testing focusing on local privilege escalation and file upload mechanisms. 7. Educate internal users about the risks of local exploitation and enforce endpoint security best practices to reduce insider threat risks.

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.

References

Community reviews

Loading reviews…