CVE-2025-57697: Path Traversal

Published Nov 7, 2025
·
Updated

AstrBot Project v3.5.22 has an arbitrary file read vulnerability in function encodeimagebs64. Since the encodeimagebs64 function defined in entities.py opens the image specified by the user in the request body and returns the image content as a base64-encoded string without checking the legitimacy of the image path, attackers can construct a series of malicious URLs to read any specified file, resulting in sensitive data leakage.

Affected Software

3 affected components
AstrBot Project AstrBot
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·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06: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-57697?

CVE-2025-57697 has been classified with a severity that could allow unauthorized access to sensitive files.

2

How do I fix CVE-2025-57697?

To fix CVE-2025-57697, ensure proper validation and sanitization of user input before accessing files in the _encode_image_bs64 function.

3

Which versions of AstrBot are affected by CVE-2025-57697?

CVE-2025-57697 affects AstrBot Project v3.5.22 specifically.

4

What is the impact of CVE-2025-57697?

The impact of CVE-2025-57697 includes the possibility of arbitrary file reading, which could lead to the exposure of sensitive data.

5

Is there a workaround for CVE-2025-57697?

A temporary workaround for CVE-2025-57697 includes disabling user uploads until a patch is applied.

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