Skip to main content
CVE-2025-57697VulnerabilityPublished Updated

CVE-2025-57697: astrbot · n/a

Affects astrbotSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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. Weaponised: 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
PyPIastrbotpkg:pypi/astrbotOther threatsAffected
  • =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

Specific mitigation steps include: 1) Implement strict validation and sanitization of all user-supplied file path inputs in the _encode_image_bs64 function to ensure only legitimate image files within designated directories are processed. 2) Employ allowlisting of acceptable file paths or extensions and reject any input that attempts directory traversal or references sensitive system files. 3) Run the application with the least privilege necessary, restricting file system permissions to limit accessible files. 4) Monitor and log all requests to the vulnerable endpoint to detect anomalous or suspicious file access patterns. 5) If possible, isolate the image processing functionality in a sandboxed environment to contain potential exploitation. 6) Engage with the AstrBot project maintainers or community to obtain or contribute patches addressing this vulnerability. 7) Conduct regular security audits and code reviews focusing on input handling and file operations. 8) Educate developers on secure coding practices related to file I/O and input validation.

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

Community reviews

Loading reviews…