CVE-2025-57698

Source
https://cve.org/CVERecord?id=CVE-2025-57698
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57698.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-57698
Aliases
Published
2025-11-07T00:00:00Z
Modified
2026-08-12T03:51:15Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

AstrBot Project v3.5.22 contains a directory traversal vulnerability. The handler function install_plugin_upload of the interface '/plugin/install-upload' parses the filename from the request body provided by the user, and directly uses the filename to assign to file_path without checking the validity of the filename. The variable file_path is then passed as a parameter to the function file.save, so that the file in the request body can be saved to any location in the file system through directory traversal.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57698.json"
}
References

Affected packages

Git / github.com/astrbotdevs/astrbot

Affected ranges

Type
GIT
Repo
https://github.com/astrbotdevs/astrbot
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.5.22"
        },
        {
            "last_affected": "3.5.22"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

3.*
3.5.22
v3.*
v3.5.22

Database specific

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