CVE-2025-57697
Last modified
CVE-2025-57697 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Astrbot | Astrbot | 3.5.22 |
References
- https://github.com/DYX217/vulnerability-explore/blob/main/1/README.mdExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-57697?
How severe is CVE-2025-57697?
How do I fix CVE-2025-57697?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-57665Element Plus Link component (el-link) through 2.10.6 impleme…6.4
- CVE-2025-5767The Crowdfunding for WooCommerce plugin for WordPress is vul…6.4
- CVE-2025-57681The WorklogPRO - Timesheets for Jira plugin in Jira Data Cen…5.4
- CVE-2025-57682Directory Traversal vulnerability in Papermark 0.20.0 and pr…6.5
- CVE-2025-57685The LB-Link routers, including the BL-AC2100_AZ3 V1.0.4, BL-…8.8
- CVE-2025-57692PiranhaCMS 12.0 allows stored XSS in the Text content block …6.8
- CVE-2025-57698AstrBot Project v3.5.22 contains a directory traversal vulne…7.5
- CVE-2025-57699Western Digital Kitfox for Windows provided by Western Digit…8.4
- CVE-2025-5770A reflected cross-site scripting (XSS) vulnerability exists …6.1
- CVE-2025-57700DIAEnergie - Stored Cross-site Scripting6.1
- CVE-2025-57701DIAEnergie - Reflected Cross-site Scripting6.1
- CVE-2025-57702DIAEnergie - Reflected Cross-site Scripting6.1
Are you affected by CVE-2025-57697?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
