# CVE-2026-6984: PYSEC-2026-2381 - AstrBot has Incomplete Filtering of Special Elements

Source: https://junglewise.ai/threats/cve-2026-6984-astrbot-has-incomplete-filtering-of-special-elements  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-25  
License: CC BY 4.0 with a link back

CVE-2026-6984 · Severity: medium · CVSS 4.7 · Published 2026-04-25

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.

Technologies: [astrbot (PyPI)](https://junglewise.ai/threats/technologies/astrbot). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-6984 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-6984 being exploited in the wild.

**How severe is CVE-2026-6984?** Medium severity, with a CVSS score of 4.7, published 25 April 2026.

**Which products and versions are affected?** astrbot (PyPI) ECOSYSTEM:introduced=0,last_affected=4.22.1.

**Is there a fix for CVE-2026-6984?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2026-6984?** Check whether you run astrbot (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- astrbot (PyPI) ECOSYSTEM:introduced=0,last_affected=4.22.1

## Identifiers

- CVE-2026-6984
- GHSA-h3rr-9wqj-v3c6
- PYSEC-2026-2381

## Related threats

- [PYSEC-2026-1196 - AstrBot Has Path Traversal Vulnerability in /api/chat/get_file](https://junglewise.ai/threats/cve-2025-48957-astrbot-has-path-traversal-vulnerability-in-api-chat-get-file)
- [AstrBotDevs AstrBot authorization bypass via delimiter injection in session_id](https://junglewise.ai/threats/cve-2026-10212-astrbotdevs-astrbot-authorization-bypass-via-delimiter-injection)
- [AstrBotDevs AstrBot path traversal in file upload handler](https://junglewise.ai/threats/cve-2026-8754-astrbotdevs-astrbot-path-traversal-in-file-upload-handler)
- [AstrBotDevs AstrBot hardcoded JWT secret key](https://junglewise.ai/threats/cve-2025-55449-astrbot-hard-coded-jwt-key-authentication-bypass-and-rce)
- [PYSEC-2026-2382 - AstrBot Makes Use of Hard-coded Password](https://junglewise.ai/threats/cve-2026-7579-astrbot-makes-use-of-hard-coded-password)
