CVE-2025-57697

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*

History

05 Nov 2026, 14:10

Type Values Removed Values Added
Summary
  • (es) El Proyecto AstrBot v3.5.22 tiene una vulnerabilidad de lectura arbitraria de archivos en la función _encode_image_bs64. Dado que la función _encode_image_bs64 definida en entities.py abre la imagen especificada por el usuario en el cuerpo de la solicitud y devuelve el contenido de la imagen como una cadena codificada en base64 sin verificar la legitimidad de la ruta de la imagen, los atacantes pueden construir una serie de URLs maliciosas para leer cualquier archivo especificado, lo que resulta en una fuga de datos sensibles.

05 Dec 2025, 20:42

Type Values Removed Values Added
First Time Astrbot
Astrbot astrbot
CPE cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*
References () https://github.com/DYX217/vulnerability-explore/blob/main/1/README.md - () https://github.com/DYX217/vulnerability-explore/blob/main/1/README.md - Exploit, Third Party Advisory

12 Nov 2025, 18:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CWE CWE-125

07 Nov 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-07 18:15

Updated : 2026-11-05 14:10


NVD link : CVE-2025-57697

Mitre link : CVE-2025-57697

CVE.ORG link : CVE-2025-57697


JSON object : View

Products Affected

astrbot

  • astrbot
CWE
CWE-125

Out-of-bounds Read