CVE-2025-57697

MEDIUM CVSS 3.1: 6.5 EPSS 0.34%
Updated Dec 05, 2025
Astrbot
Parameter Value
CVSS 6.5 (MEDIUM)
Type CWE-125 (Out-of-bounds Read)
Vendor Astrbot
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Astrbot Astrbot
cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*
— —