Home / HKUDS / LightRAG / CVE-2025-6773
CVE-2025-6773: is it exploited, and which versions of HKUDS LightRAG are affected and fixed?
CVE-2025-6773 is a path traversal (reading or writing files outside the intended folder) vulnerability in HKUDS LightRAG. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: lightrag-hku before 1.3.8 (GitHub advisory GHSA-v9w6-9hq9-33ch). Fixed in 1.3.8 (GitHub advisory GHSA-v9w6-9hq9-33ch). Severity: Medium (4.8, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-6773?
HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal
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.
From the CVE record by VulDB, last updated June 27, 2025, 19:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| HKUDS | LightRAG | 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 |
As the CVE record by VulDB states it, last updated June 27, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | lightrag-hku | < 1.3.8 | 1.3.8 | GHSA-v9w6-9hq9-33ch |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 30, 2025. Summary: HKUDS LightRAG allows Path Traversal via function upload_to_input_dir.
How severe is CVE-2025-6773?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | CVSS 4.0 | 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 | VulDB |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C | VulDB |
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C | VulDB |
| Medium 4.3 | CVSS 2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-6773 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 27, 2025)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 13.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- VDB-314089 | HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal vdb-entry, technical-description
- VDB-314089 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #601276 | HKUDS LightRAG v1.3.8 Path Traversal third-party-advisory
- https://github.com/HKUDS/LightRAG/issues/1692 issue-tracking
- https://github.com/HKUDS/LightRAG/issues/1692#issuecomment-3009368235 issue-tracking
- https://github.com/HKUDS/LightRAG/commit/60777d535b719631680bcf5d0969bdef79ca4eaf patch
Who found and reported it?
- Hannibal0x (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 27, 2025
- Published
- June 27, 2025, 19:00 UTC
- CVE record updated
- June 27, 2025, 19:21 UTC by VulDB
- NVD
- Deferred, last modified June 17, 2026, 10:02 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect LightRAG?
- Nov 26, 2026CVE-2026-114507 HKUDS LightRAG: acceptance of Extraneous Untrusted Data With Trusted Data
- Sep 22, 2026CVE-2026-86062 HKUDS LightRAG: cross-site scripting (XSS)
- Sep 22, 2026CVE-2026-85740 HKUDS LightRAG: server-side request forgery (SSRF)
- Sep 22, 2026CVE-2026-85734 HKUDS LightRAG: no limit on login attempts (brute force)
- Sep 22, 2026CVE-2026-85725 HKUDS LightRAG: timing side channel
- Sep 22, 2026CVE-2026-85709 HKUDS LightRAG: information disclosure in error messages
- Aug 7, 2026CVE-2026-61808 HKUDS LightRAG: missing authentication for a critical function
- Jul 15, 2026CVE-2026-61740 HKUDS LightRAG: authentication bypass (improper authentication)
Questions about CVE-2025-6773
Is CVE-2025-6773 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of HKUDS LightRAG are affected by CVE-2025-6773?
lightrag-hku before 1.3.8, per the GitHub advisory GHSA-v9w6-9hq9-33ch. The tables above give every range the sources list.
Which version fixes CVE-2025-6773?
1.3.8, per the GitHub advisory GHSA-v9w6-9hq9-33ch. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-6773?
Medium (4.8, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2025-6773?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.