# CVE-2026-6984: AstrBotDevs AstrBot Dashboard API t2i.py create_template special elements used in a template engine

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-25T15:30:24.742Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-h3rr-9wqj-v3c6, PYSEC-2026-2381
- Weaknesses: CWE-791, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- AstrBotDevs AstrBot: 4.22.0; 4.22.1
- astrbot (PyPI): up to 4.22.1

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 4.7 Medium `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`
- VulDB: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 5.8 Medium `AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 4.7 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- PyPA Advisory Database: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/AstrBotDevs/AstrBot/issues/7330> (exploit, issue-tracking, web)
- <https://vuldb.com/vuln/359527> (technical-description, vdb-entry, web)
- <https://vuldb.com/vuln/359527/cti> (permissions-required, signature, web)
- <https://vuldb.com/submit/796164> (third-party-advisory, web)
- <https://github.com/AstrBotDevs/AstrBot/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6984> (advisory)
- <https://github.com/AstrBotDevs/AstrBot> (package)
- <https://pypi.org/project/astrbot> (package)
- <https://github.com/advisories/GHSA-h3rr-9wqj-v3c6> (advisory)

## Sources

- CVE List: [CVE-2026-6984](https://www.cve.org/CVERecord?id=CVE-2026-6984), CVE Terms of Use, modified 2026-04-27
- GitHub Advisory Database: [GHSA-h3rr-9wqj-v3c6](https://github.com/advisories/GHSA-h3rr-9wqj-v3c6), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-6984](https://nvd.nist.gov/vuln/detail/CVE-2026-6984), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2381](https://osv.dev/vulnerability/PYSEC-2026-2381), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-6984 · Whole record: https://cve.day/CVE-2026-6984.json · Rebuilt by cve.day 2026-11-25T22:59:19.598Z
