CVE Catalog

CVE-2025-57698

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.83%

58th percentile - higher than 58% of all known CVEs

Summary

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, allowing the file in the request body to be saved to any location in the file system through directory traversal.

Risk Assessment

An attacker can write arbitrary files to any location in the file system, potentially leading to code execution or overwriting critical files. This poses a serious threat to system integrity.

Recommendation

Update AstrBot to a version newer than 3.5.22 if a fix is available. Implement filename validation and restrict saving to a designated directory.

Other vulnerabilities in AstrBot

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS