CVE-2025-57697
NoneAstrBot has an arbitrary file read vulnerability in function _encode_image_bs64
CVSS
—
EPSS
0.3%
Published
Nov 7, 2025
CISA due date
—
The record
AstrBot Project v3.5.22 has an arbitrary file read vulnerability in function _encode_image_bs64. Since the _encode_image_bs64 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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | astrbot | 0 | No fix |
Related vulnerabilities
- GHSA-vm2f-46xc-5jc3 AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64 Same vulnerability
- CVE-2025-55449 AstrBotDevs AstrBot 3.5.15 has Advanced_System_for_Text_Response_and_Bot_Operations_Tool… Also affects astrbot
- GHSA-4m32-cjv7-f425 AstrBot is vulnerable to RCE with hard-coded JWT signing keys Also affects astrbot
- GHSA-xrj9-mw57-j34v AstrBot contains a directory traversal vulnerability Also affects astrbot
- CVE-2025-57698 AstrBot contains a directory traversal vulnerability Also affects astrbot
- CVE-2026-81163 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… CWE-22
- CVE-2026-112049 Vita3K before build 4187 contains a path traversal (zip slip) vulnerability in… CWE-22
- CVE-2026-112005 WhoDB 0.104.0 before 0.135.0 contains a path traversal vulnerability that allows remote… CWE-22