CVE-2025-57698
HIGH 7.5CVSS 3.1AstrBot contains a directory traversal vulnerability
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.
- Published
- 7 Nov 2025
- Last modified
- 5 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-xrj9-mw57-j34vPYSEC-2026-1198
- Sources
- NVDJSONOSV GHSA-xrj9-mw57-j34vJSONOSV PYSEC-2026-1198JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | astrbot | astrbotcpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:* |
= 3.5.22 | |
| OSV | PyPI | astrbot | <= 3.5.22 |
References
- https://github.com/DYX217/vulnerability-explore/blob/main/2/README.md · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57698 · ADVISORY
- https://github.com/AstrBotDevs/AstrBot · PACKAGE
- https://pypi.org/project/astrbot · PACKAGE
- https://github.com/advisories/GHSA-xrj9-mw57-j34v · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 7 Nov 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Nov 2025)