Security mailing lists by PureSourceCode

CVE-2025-57697

MEDIUM 6.5CVSS 3.1

AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64

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
7 Nov 2025
Last modified
5 Nov 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-125CWE-22
Also known as
GHSA-vm2f-46xc-5jc3PYSEC-2026-1197
Sources
NVDJSONOSV GHSA-vm2f-46xc-5jc3JSONOSV PYSEC-2026-1197JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
OSV PyPA CVSS 4.0 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD astrbot astrbot
cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*
= 3.5.22
OSV PyPI astrbot <= 3.5.22

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 7 Nov 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.