Path Traversal in Astrbot

CVE-2025-57698

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 class: Path Traversal (Directory Traversal)

EPSS: 0.008 (52.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Astrbot — versions 3.5.22
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-57698?
CVE-2025-57698 is a high-severity vulnerability in Astrbot, classified under Path Traversal. CVSS score: 7.5/10. Published 2025-11-07.
How severe is CVE-2025-57698?
High severity. CVSS v3 base score is 7.5 out of 10.