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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-vm2f-46xc-5jc3 | AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64 |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 07 Nov 2025 18:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| References |
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2025-11-07T17:44:56.493Z
Reserved: 2025-08-17T00:00:00.000Z
Link: CVE-2025-57697
No data.
Status : Received
Published: 2025-11-07T18:15:36.200
Modified: 2025-11-07T18:15:36.200
Link: CVE-2025-57697
No data.
OpenCVE Enrichment
No data.
Github GHSA