CVE-2025-57698
Last modified
CVE-2025-57698 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Astrbot | Astrbot | 3.5.22 |
References
- https://github.com/DYX217/vulnerability-explore/blob/main/2/README.mdExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-57698?
How severe is CVE-2025-57698?
How do I fix CVE-2025-57698?
Are you affected by CVE-2025-57698?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
