—
PYSEC-2026-1197
AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64
상세
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.
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
PyPI / astrbot
최초 영향 버전:
0 No fixed version published yet for astrbot (pip). Pin to a known-safe version or switch to an alternative.