p PatchFirst

CVE-2025-57697

CVE-2025-57697

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 0.3%

Published
Updated

Stack: python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • astrbot PyPI

    Versions
    • 3.4.39
    • 3.5.10
    • 3.5.11
    • 3.5.12
    • 3.5.13
    • 3.5.14
    • 3.5.15
    • 3.5.17
    • 3.5.18
    • 3.5.19
    • 3.5.20
    • 3.5.21
    • 3.5.22
    • 3.5.6
    • 3.5.7
    • 3.5.8
    • 3.5.9
    Affected ranges
    • ECOSYSTEM: ≤ 3.5.22

    No fix published

Original sources

Check your server →