CVE-2025-57698: AstrBot contains a directory traversal vulnerability
AstrBot Project v3.5.22 contains a directory traversal vulnerability. The handler function installpluginupload 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 filepath without checking the validity of the filename.
Published Nov 7, 2025
Affected packages
AstrBot
- Ecosystem
- PyPI
- Affected
- <= 3.5.22
- Fixed in
- No patched version yet
- Check
pip show AstrBot
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-10212
AstrBot: Manipulation of astr_main_agent's session_id parameter leads to authorization bypass
low6.3No fixJun 1, 2026CVE-2026-8754
AstrBot: File upload vulnerability in the function post_file of the file astrbot/dashboard/routes/chat.py
low6.3May 17, 2026CVE-2026-7579
AstrBot Makes Use of Hard-coded Password
medium7.3No fixMay 1, 2026CVE-2026-6984
AstrBot has Incomplete Filtering of Special Elements
low4.7No fixApr 25, 2026CVE-2025-57697
AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64
medium5.7No fixNov 7, 2025
