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.27% 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?
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
