CVE-2026-8754: AstrBot: File upload vulnerability in the function post_file of the file astrbot/dashboard/routes/chat.py
A vulnerability was detected in AstrBotDevs AstrBot up to 4.23.5. Impacted is the function postfile of the file astrbot/dashboard/routes/chat.py of the component File Upload Handler. The manipulation of the argument filename results in path traversal. It is possible to launch the attack remotely. The exploit is now public and may be used. Upgrading to version 4.23.6 is recommended to address this issue.
Published May 17, 2026 · Updated May 23, 2026
Affected packages
AstrBot
- Ecosystem
- PyPI
- Affected
- < 4.23.6
- Fixed in
- 4.23.6
- Check
pip show AstrBot
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was detected in AstrBotDevs AstrBot up to 4.23.5. Impacted is the function post_file of the file astrbot/dashboard/routes/chat.py of the component File Upload Handler. The manipulation of the argument filename results in path traversal. It is possible to launch the attack remotely. The exploit is now public and may be used. Upgrading to version 4.23.6 is recommended to address this issue. The patch is identified as aaec41e5054569ceaa1113593a34da7568e2d211. You should upgrade the affected component.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-8754
- https://github.com/AstrBotDevs/AstrBot/commit/aaec41e5054569ceaa1113593a34da7568e2d211
- https://gist.github.com/YLChen-007/054415c2b63e58813328bc879a90c504
- https://github.com/AstrBotDevs/AstrBot
- https://github.com/AstrBotDevs/AstrBot/releases/tag/v4.23.6
- https://vuldb.com/submit/811172
- https://vuldb.com/vuln/364381
- https://vuldb.com/vuln/364381/cti
- https://github.com/advisories/GHSA-f63h-wc26-pmvc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-10212
AstrBot: Manipulation of astr_main_agent's session_id parameter leads to authorization bypass
low6.3No fixJun 1, 2026CVE-2026-7579
AstrBot Makes Use of Hard-coded Password
medium7.3No fixMay 1, 2026CVE-2026-6984
AstrBot has Incomplete Filtering of Special Elements
low4.7No fixApr 25, 2026CVE-2025-57697
AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64
medium5.7No fixNov 7, 2025CVE-2025-57698
AstrBot contains a directory traversal vulnerability
high8.7No fixNov 7, 2025
