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

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.