CVE-2025-6773: HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal

Published Jun 27, 2025
·
Updated

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 uploadtoinputdir of the file lightrag/api/routers/documentroutes.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.

Affected Software

2 affected componentsFixes available
Hkuds LightRAG<=1.3.8
pip/lightrag-hku<1.3.8
1.3.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/lightrag-hku to a version that resolves this vulnerability.

    Fixed in 1.3.8
  2. Upgrade

    Upgrade HKUDS LightRAG to a version that resolves this vulnerability.

    Fixed in 1.3.8Patch 60777d535b719631680bcf5d0969bdef79ca4eaf

Event History

Jun 27, 2025
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:30 PM
Data Sourced
via GitHub·09:30 PM
DescriptionSeverityWeaknessAffected Software
Sep 28, 58271
Event
via NVD·12:05 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6773?

CVE-2025-6773 has been declared as critical.

2

What components are affected by CVE-2025-6773?

CVE-2025-6773 affects the File Upload component in HKUDS LightRAG versions up to 1.3.8.

3

How can I mitigate CVE-2025-6773?

To mitigate CVE-2025-6773, ensure to upgrade HKUDS LightRAG to a version later than 1.3.8.

4

What kind of vulnerability is CVE-2025-6773?

CVE-2025-6773 is a file upload vulnerability found in the function upload_to_input_dir.

5

Is there a known exploit for CVE-2025-6773?

There are currently no public details regarding specific exploits associated with CVE-2025-6773.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203