CVE-2025-57697Astrbot
Medium 6.5 No auth needed
Follow: this CVE · Astrbot · Astrbot We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Nov 7, 2025
- Updated
- Nov 5, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Astrbot.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | astrbot |
≤ 3.5.22 |
no fixed version | — |
| PyPI | astrbot |
≤ 3.5.22 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-vm2f-46xc-5jc3, PYSEC-2026-1197). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| astrbot | astrbot | 3.5.22 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory