{"id":"CVE-2025-57697","aliases":["GHSA-vm2f-46xc-5jc3","PYSEC-2026-1197"],"url":"https://o3.security/vulnerability/CVE-2025-57697","summary":"AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64","details":"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.","published":"2025-11-07T00:00:00Z","modified":"2026-08-12T03:51:08.394941715Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"astrbot","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/DYX217/vulnerability-explore/blob/main/1/README.md"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57697.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57697"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:08.394941715Z"}}