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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xrj9-mw57-j34v AstrBot contains a directory traversal vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 07 Nov 2025 17:00:00 +0000

Type Values Removed Values Added
Description 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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-07T16:43:54.572Z

Reserved: 2025-08-17T00:00:00.000Z

Link: CVE-2025-57698

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-11-07T17:15:47.660

Modified: 2025-11-07T17:15:47.660

Link: CVE-2025-57698

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.