---
id: CVE-2026-6984
aliases:
  - GHSA-h3rr-9wqj-v3c6
  - PYSEC-2026-2381
title: AstrBot has Incomplete Filtering of Special Elements
summary: AstrBot has Incomplete Filtering of Special Elements
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L'
vendor: astrbot
product: astrbot
ecosystem: pip
affected:
  - astrbot <= 4.22.1
published: '2026-04-25'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-h3rr-9wqj-v3c6'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6984'
  - url: 'https://github.com/AstrBotDevs/AstrBot/issues/7330'
  - url: 'https://github.com/AstrBotDevs/AstrBot'
  - url: 'https://vuldb.com/submit/796164'
  - url: 'https://vuldb.com/vuln/359527'
  - url: 'https://vuldb.com/vuln/359527/cti'
tags:
  - osv
  - pip
epss: 0.00299
epssPercentile: 0.22798
ingestedAt: '2026-07-13T18:57:58.774Z'
---

## Overview

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

- `astrbot <= 4.22.1`

## Remediation

Refer to the advisory for the patched release.
