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 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | astrbot | < 4.23.6 | 4.23.6 |
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://pypi.org/project/astrbot
- https://github.com/advisories/GHSA-f63h-wc26-pmvc
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
astrbot- Disclosed
- 17.05.2026
- Updated
- 11.10.2026 14:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2380 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-f63h-wc26-pmvc - CC BY 4.0
Vulnerability history: astrbot
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 8
- First → latest
- 06.2025 06.2026
- Without a fix
- 5
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 3
- Medium 1
- Low 3
Disclosures per year
- 2025: 4
- 2026: 4
-
AstrBot: File upload vulnerability in the function post_file of the file astrbot/dashboard/routes/chat.py this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.