Vulnerability Explorer›CVE-2025-57697
VULNERABILITY
CVE-2025-57697
Common Vulnerabilities and Exposures record
MEDIUM
Summary
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.
Risk
- CVSS
- 6.5
- Severity
- MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Timeline
- Published
- Nov 7, 2025 18:15
- Modified
- Nov 5, 2026 14:10
- Last observed
- Nov 5, 2026 10:00
CWE
Affected product identifiers
cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*