Skip to main content
VulnerabilityPublished

CVE-2025-57697: AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64

Affects AstrBotSource GCVE Database

0
Compare
Authoritative record:CVE-2025-57697· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium.

Data as of 4 Nov 2026, 18:50 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIAstrBotAffected
  • <=3.5.22
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should monitor vendor advisories for updates. Until a fix is released, restrict access to the vulnerable service and validate or sanitize user inputs to the _encode_image_bs64 function if possible.

Description

AstrBot version 3.5.22 contains an arbitrary file read vulnerability in the _encode_image_bs64 function. This function reads and base64-encodes an image file specified by the user without validating the file path, allowing attackers to read arbitrary files on the system. This can lead to sensitive data leakage. The vulnerability is tracked as CVE-2025-57697 and has a high severity score of 7.1. No patch or fix information is currently provided.

References

Community reviews

Loading reviews…