Vulnerability · Published Apr 25, 2026 · Assigned by VulDB
CVE-2026-6984AstrBotDevs AstrBot Dashboard API t2i.py create_template special elements used in a template engine
Medium 4.7
In plain English
A medium-severity security flaw in AstrBot from AstrBotDevs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities).
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | astrbot | no fix listed | GHSA-h3rr-9wqj-v3c6 |
| PyPI | astrbot | no fix listed | PYSEC-2026-2381 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AstrBotDevs | AstrBot | 4.22.04.22.1 |
Weakness: CWE-1336, CWE-791 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-359527 | AstrBotDevs AstrBot Dashboard API t2i.py create_template special elements used in a template engine vdb-entry, technical-description
- VDB-359527 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #796164 | AstrBotDevs AstrBot 4.22.1 Server-Side Template Injection third-party-advisory
- https://github.com/AstrBotDevs/AstrBot/issues/7330 exploit, issue-tracking
- https://github.com/AstrBotDevs/AstrBot/ product