{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-57697","id":"CVE-2025-57697","title":"AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64","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 fil","descriptionLong":"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:00.000Z","updated":"2026-11-07T02:30:53.812220763Z","reserved":"2025-08-17T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"GitHub"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","rating":"unrated","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"astrbot","purl":"pkg:pypi/astrbot","ranges":["<=3.5.22"],"fixed":[],"advisory":"GHSA-vm2f-46xc-5jc3"}],"cwes":["CWE-125","CWE-22"],"aliases":["GHSA-vm2f-46xc-5jc3","PYSEC-2026-1197"],"references":[{"url":"https://github.com/DYX217/vulnerability-explore/blob/main/1/README.md","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57697.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57697","tags":["advisory"]},{"url":"https://github.com/AstrBotDevs/AstrBot","tags":["package"]},{"url":"https://pypi.org/project/astrbot","tags":["package"]},{"url":"https://github.com/advisories/GHSA-vm2f-46xc-5jc3","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0034,"epssPercentile":0.27992,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-57697","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57697","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-57697","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vm2f-46xc-5jc3","ok":true,"note":"GHSA-vm2f-46xc-5jc3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-57697","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}