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 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | astrbot | <= 4.22.1 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6984
- https://github.com/AstrBotDevs/AstrBot/issues/7330
- https://github.com/AstrBotDevs/AstrBot
- https://vuldb.com/submit/796164
- https://vuldb.com/vuln/359527
- https://vuldb.com/vuln/359527/cti
- https://pypi.org/project/astrbot
- https://github.com/advisories/GHSA-h3rr-9wqj-v3c6
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-791- Platform
- Python (PyPI)
- Package
astrbot- Disclosed
- 25.04.2026
- Updated
- 11.10.2026 14:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2381 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-h3rr-9wqj-v3c6 - 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 has Incomplete Filtering of Special Elements 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.