Out-of-bounds Read in Astrbot
CVE-2025-57697
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 28.2th percentile
- Published
- 2025-11-07
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- None
I:N - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.003, 28.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Astrbot — versions 3.5.22
Weakness classification (CWE)
References
- github.com/DYX217/vulnerability-explore/blob/main/1/README.md (Exploit, Third Party Advisory)