CVE-2025-57698 AstrBot contains a directory traversal vulnerability
HighCVSS 7.5
EPSS 0.83%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi astrbot(PyPI) | <= 3.5.22; = 3.4.39; = 3.5.6; = 3.5.7 +14 more | after 3.5.22 | Fixed |
| astrbot | = 3.5.22 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi astrbot(PyPI) | <= 3.5.22 | No fix listed |
| pypi astrbot(PyPI) | = 3.4.39 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.10 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.11 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.12 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.13 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.14 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.15 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.17 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.18 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.19 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.20 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.21 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.22 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.6 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.7 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.8 | No fix listed |
| pypi astrbot(PyPI) | = 3.5.9 | No fix listed |
| astrbot | = 3.5.22 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory