CVE-2026-6984: AstrBot has Incomplete Filtering of Special Elements
A security flaw has been discovered in AstrBotDevs AstrBot up to 4.22.1. This affects the function createtemplate of the file astrbot/dashboard/routes/t2i.py of the component Dashboard API. The manipulation results in improper neutralization of special elements used in a template engine. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.
Published Apr 25, 2026 · Updated May 5, 2026
Affected packages
AstrBot
- Ecosystem
- PyPI
- Affected
- <= 4.22.1
- Fixed in
- No patched version yet
- Check
pip show AstrBot
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A security flaw has been discovered in AstrBotDevs AstrBot up to 4.22.1. This affects the function create_template of the file astrbot/dashboard/routes/t2i.py of the component Dashboard API. The manipulation results in improper neutralization of special elements used in a template engine. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
References
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-8754
AstrBot: File upload vulnerability in the function post_file of the file astrbot/dashboard/routes/chat.py
low6.3May 17, 2026CVE-2026-7579
AstrBot Makes Use of Hard-coded Password
medium7.3No fixMay 1, 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
