CVEvulnerability

CVE-2025-57697

6.5 MEDIUM Published 2025-11-07 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-11-07
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Weaknesses
CWE-125

Description

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 configurations

• astrbot astrbot 3.5.22

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References