{"id":"CVE-2025-57698","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.","aliases":["GHSA-xrj9-mw57-j34v","PYSEC-2026-1198"],"modified":"2026-07-15T01:49:00.589742207Z","published":"2025-11-07T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57698.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/DYX217/vulnerability-explore/blob/main/2/README.md"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57698.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57698"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/astrbotdevs/astrbot","events":[{"introduced":"2915fdf665a1c0f7a7ecc4caa9bbd6988dfd63ab"},{"last_affected":"2915fdf665a1c0f7a7ecc4caa9bbd6988dfd63ab"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.5.22"},{"last_affected":"3.5.22"}]}}],"versions":["3.5.22","v3.5.22"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57698.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}