CVE-2025-57698

Published Nov 7, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xrj9-mw57-j34v AstrBot contains a directory traversal vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Astrbot
Astrbot astrbot
Vendors & Products Astrbot
Astrbot astrbot
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 12, 2025, 5:08 PM
Reserved
Aug 17, 2025, 12:00 AM
Status
Analyzed
Published
Nov 7, 2025, 5:15 PM
Modified
Nov 5, 2026, 2:10 PM