CVE-2025-6773

Source
https://cve.org/CVERecord?id=CVE-2025-6773
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6773.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-6773
Aliases
Published
2025-06-27T19:00:17.695Z
Modified
2026-07-08T08:08:13.493276354Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6773.json",
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/hkuds/lightrag

Affected ranges

Type
GIT
Repo
https://github.com/hkuds/lightrag
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "1.3.0"
        },
        {
            "last_affected": "1.3.0"
        },
        {
            "introduced": "1.3.1"
        },
        {
            "last_affected": "1.3.1"
        },
        {
            "introduced": "1.3.2"
        },
        {
            "last_affected": "1.3.2"
        },
        {
            "introduced": "1.3.3"
        },
        {
            "last_affected": "1.3.3"
        },
        {
            "introduced": "1.3.4"
        },
        {
            "last_affected": "1.3.4"
        },
        {
            "introduced": "1.3.5"
        },
        {
            "last_affected": "1.3.5"
        },
        {
            "introduced": "1.3.6"
        },
        {
            "last_affected": "1.3.6"
        },
        {
            "introduced": "1.3.7"
        },
        {
            "last_affected": "1.3.7"
        },
        {
            "introduced": "1.3.8"
        },
        {
            "last_affected": "1.3.8"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

1.*
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
v1.*
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.3.6
v1.3.7
v1.3.8
v1.3.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6773.json"