CVE-2025-57698: Path Traversal

Published Nov 7, 2025
·
Updated

AstrBot Project v3.5.22 contains a directory traversal vulnerability. The handler function installpluginupload 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 filepath without checking the validity of the filename. The variable filepath 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.

Affected Software

3 affected components
AstrBot AstrBot Project
pip/AstrBot<=3.5.22
AstrBot AstrBot=3.5.22

Event History

Nov 7, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
Affected Software
Advisory Published
via GitHub·06:30 PM
Data Sourced
via GitHub·06:30 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-57698?

CVE-2025-57698 is classified as a medium severity vulnerability due to its potential for directory traversal exploits.

2

How do I fix CVE-2025-57698?

To fix CVE-2025-57698, validate and sanitize the filename input before using it to set the file path in the handler function.

3

Which version of AstrBot Project is affected by CVE-2025-57698?

AstrBot Project v3.5.22 is the version known to be affected by CVE-2025-57698.

4

What type of vulnerability is CVE-2025-57698?

CVE-2025-57698 is a directory traversal vulnerability.

5

What can attackers achieve with CVE-2025-57698?

Attackers can exploit CVE-2025-57698 to access arbitrary files on the server not intended for public access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203