cve.bz

CVE-2025-57697

6.5 mediumEPSS 0.3%

Medium (6.5) in astrbot astrbot. EPSS 0.3% chance of exploitation in the next 30 days.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS
0.3% chance of exploitation in the next 30 days; higher than 27% of CVEs (scores of 2026-10-31)
CWE
CWE-125
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vm2f-46xc-5jc3PyPIastrbot<=3.5.22no fix published
PYSEC-2026-1197PyPIastrbot<=3.5.22no fix published

References

Check your stackJSON