# CVE-2025-6773: PYSEC-2026-1539 - HKUDS LightRAG allows Path Traversal via function upload_to_input_dir

Source: https://junglewise.ai/threats/cve-2025-6773-hkuds-lightrag-allows-path-traversal-via-function-upload-to-input  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2025-6773 · Severity: low · CVSS 3.1 · Published 2026-07-07

HKUDS LightRAG allows Path Traversal via function upload_to_input_dir

Technologies: [lightrag-hku (PyPI)](https://junglewise.ai/threats/technologies/lightrag-hku). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-6773 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-6773 being exploited in the wild.

**How severe is CVE-2025-6773?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** lightrag-hku (PyPI) ECOSYSTEM:introduced=0,fixed=1.3.8.

**Is there a fix for CVE-2025-6773?** Yes. lightrag-hku (PyPI): upgrade to 1.3.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-6773?** Check whether you run lightrag-hku (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- lightrag-hku (PyPI): upgrade to 1.3.8 or later

  ```sh
  pip install "lightrag-hku>=1.3.8"
  ```


## Affected products

- lightrag-hku (PyPI) ECOSYSTEM:introduced=0,fixed=1.3.8

## Identifiers

- CVE-2025-6773
- GHSA-v9w6-9hq9-33ch
- PYSEC-2026-1539

## Related threats

- [LightRAG WebUI stored XSS in chat answer renderer](https://junglewise.ai/threats/cve-2026-86062-lightrag-webui-stored-xss-in-chat-answer-renderer)
- [LightRAG SSRF via IPv6-transition address bypass in markdown image download](https://junglewise.ai/threats/cve-2026-85740-lightrag-ssrf-via-ipv6-transition-address-bypass-in-markdown)
- [lightrag-hku /login endpoint missing rate limiting enables brute-force attacks](https://junglewise.ai/threats/cve-2026-85734-lightrag-hku-login-endpoint-missing-rate-limiting-enables-brute)
- [LightRAG plaintext password timing attack vulnerability](https://junglewise.ai/threats/cve-2026-85725-lightrag-plaintext-password-timing-attack-vulnerability)
- [LightRAG API sensitive information exposure in error responses](https://junglewise.ai/threats/cve-2026-85709-lightrag-api-sensitive-information-exposure-in-error-responses)
