CVE-2025-6773
published medium CVSS 4.0 · 4.8HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HKUDS | — | LightRAG1.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 | Affected | Not stated | VulDB |
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.
In HKUDS LightRAG bis 1.3.8 wurde eine kritische Schwachstelle ausgemacht. Hierbei betrifft es die Funktion upload_to_input_dir der Datei lightrag/api/routers/document_routes.py der Komponente File Upload. Mittels Manipulieren des Arguments file.filename mit unbekannten Daten kann eine path traversal-Schwachstelle ausgenutzt werden. Der Angriff muss lokal angegangen werden. Der Patch wird als 60777d535b719631680bcf5d0969bdef79ca4eaf bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HKUDS | LightRAG | 1.3.0 (affected)1.3.1 (affected)1.3.2 (affected)1.3.3 (affected)1.3.4 (affected)1.3.5 (affected)1.3.6 (affected)1.3.7 (affected)1.3.8 (affected) | VulDB · cna |
Weaknesses
1- CWE-22 Path Traversal
References
6- https://github.com/HKUDS/LightRAG/commit/60777d535b719631680bcf5d0969bdef79ca4eaf
- https://github.com/HKUDS/LightRAG/issues/1692
- https://github.com/HKUDS/LightRAG/issues/1692#issuecomment-3009368235
- VDB-314089 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/?ctiid.314089
- VDB-314089 | HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal https://vuldb.com/?id.314089
- Submit #601276 | HKUDS LightRAG v1.3.8 Path Traversal https://vuldb.com/?submit.601276
Provider assertions
2VulDB · cna
HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 850e9e2ff0854d829a893bb3a8e0d00905f386d793dba4eb0c13aa0905a4d473
- Ingested
- 23 Sep 2026, 08:57:58 UTC
- Source record
- Official CVE record