CVE Catalog

CVE-2025-57697

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

28th percentile - higher than 28% of all known CVEs

Summary

AstrBot Project v3.5.22 has an arbitrary file read vulnerability in the _encode_image_bs64 function. Since the function 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 malicious URLs to read any specified file, resulting in sensitive data leakage.

Risk Assessment

An attacker could access sensitive system files, potentially leading to disclosure of confidential information.

Recommendation

Update AstrBot to a patched version or implement file path validation before reading.

Other vulnerabilities in AstrBot

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS