cve.bz

CVE-2025-57698

7.5 highEPSS 0.8%

High (7.5) in astrbot astrbot. EPSS 0.8% chance of exploitation in the next 30 days.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% chance of exploitation in the next 30 days; higher than 57% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xrj9-mw57-j34vPyPIastrbot<=3.5.22no fix published
PYSEC-2026-1198PyPIastrbot<=3.5.22no fix published

References

Check your stackJSON