CVE-2025-57698 json
AstrBot contains a directory traversal vulnerability
published 2025-11-07 12 mo ago modified 2026-11-05 3 d ago also GHSA-xrj9-mw57-j34v , PYSEC-2026-1198 , EUVD-2025-38262
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
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`, so that the file in the request body can be saved to any location in the file system through directory traversal.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/DYX217/vulnerability-explore/blob/main/2/README.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | astrbot | <=3.5.22 |
no fix listed |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/DYX217/vulnerability-explore/blob/main/2/README.md
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-57698
advisory
-
github.com
/AstrBotDevs/AstrBot
package
-
pypi.org
/project/astrbot
package
-
github.com
/advisories/GHSA-xrj9-mw57-j34v
advisory
Sources
- CVE List CVE-2025-57698
- GitHub Advisory GHSA-xrj9-mw57-j34v
- NVD CVE-2025-57698
- OSV PYSEC-2026-1198
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.