CVE-2025-57697

published 7 Nov 2025 · updated 5 Nov 2026

AstrBot Project v3.5.22 has an arbitrary file read vulnerability in function _encode_image_bs64

7.5HighCVSS 6.5EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
astrbotastrbot=3.5.22

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-57697 severity on Zeptric[![CVE-2025-57697](https://zeptric.io/badge/cve/CVE-2025-57697.svg)](https://zeptric.io/cve/CVE-2025-57697)