GitHub Advisoryadvisory · PyPI
GHSA-f63h-wc26-pmvc AstrBot: File upload vulnerability in the function post_file of the file astrbot/dashboard/routes/chat.py
LOW
Official page ↗
- Aliases
- CVE-2026-8754
- Ecosystem
- PyPI
- Packages
- AstrBot
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-22
- Reviewed
- 2026-05-23
Affected packages
• PyPI AstrBot: < 4.23.6 → fixed in 4.23.6
Description
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.
Related
Alias · CVE (1)
- CVE-2026-8754 A vulnerability was detected in AstrBotDevs AstrBot up to 4.23.5. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-8754 advisory
- https://github.com/AstrBotDevs/AstrBot/commit/aaec41e5054569ceaa1113593a34da7568e2d211 web
- https://gist.github.com/YLChen-007/054415c2b63e58813328bc879a90c504 web
- https://github.com/AstrBotDevs/AstrBot package
- https://github.com/AstrBotDevs/AstrBot/releases/tag/v4.23.6 web
- https://vuldb.com/submit/811172 web
- https://vuldb.com/vuln/364381 web
- https://vuldb.com/vuln/364381/cti web