Skip to main content

AstrBot CVE-2026-6984

| EUVDEUVD-2026-25660 LOW
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-04-25 VulDB
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain administrative dashboard credentials
  2. Delivery
    Access Dashboard API endpoint
  3. Exploit
    Craft malicious template injection payload
  4. Install
    Submit create_template request with injected directives
  5. C2
    Template engine processes unsanitized input
  6. Execute
    Execute arbitrary template commands
  7. Impact
    Exfiltrate sensitive data or escalate privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Authentication is required with high-privilege dashboard access (PR:H per CVSS vector). The attacker must have legitimate credentials that grant permission to access the Dashboard API and invoke the create_template function. No special configuration is required beyond a default AstrBot installation with the dashboard enabled. The vulnerability does not require user interaction (UI:N), meaning once the attacker submits a malicious template, exploitation is automatic. Attack scope is unchanged (S:U), meaning the impact is limited to the vulnerable component itself. This limits the attack surface to users or accounts with administrative dashboard privileges, making it lower-risk in environments with strict privilege separation but higher-risk if dashboard access is overly permissive.

Impact

CVSS 4.7 with network vector and high privilege requirement (PR:H) suggests this requires an authenticated attacker with elevated dashboard access, limiting the immediate threat surface. However, multiple risk signals conflict with this baseline: (1) publicly available exploit code elevates practical risk beyond the 4.7 score, (2) CWE-1336 (template injection) typically enables information disclosure and code execution, potentially understated by the 4.7 rating, (3) CVSS environmental score modifier (E:P) indicates proof-of-concept existence, confirming public discoverability, (4) no vendor response despite early notification suggests lack of immediate patching urgency. EPSS score not provided, but real-world risk is moderate if administrative dashboard access is accessible to semi-trusted users or if privilege escalation exists upstream. The AC:L (low complexity) factor means exploitation requires no special conditions once authenticated. Defender priority depends on: dashboard exposure scope, whether high-privilege accounts are compartmentalized, and if other entry vectors exist to obtain those credentials.

Exploit ScenarioDerived

An authenticated attacker with high-privilege dashboard access navigates to the template creation interface and injects malicious template syntax (e.g., Jinja2 or similar engine directives) into the template parameters. Upon submission, the create_template function processes the malicious input through the template engine without sanitization, allowing the attacker to read sensitive files, enumerate environment variables, or execute arbitrary code depending on template engine capabilities. If the dashboard is accessible to semi-trusted users (e.g., support staff), an attacker could escalate privileges or exfiltrate sensitive application data.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 25, 2026

Server-side template injection in AstrBot Dashboard API (version 4.22.1 and earlier) allows remote authenticated attackers with high privileges to execute arbitrary template code via the create_template function, leading to information disclosure and potential code execution. Publicly available exploit code exists, and the vendor has not yet responded to disclosure despite early notification.

RemediationAI

Immediate upgrade to a patched version is recommended, though no vendor-released fix version is currently available per the unresponsive disclosure status. Until a patch is released, implement network segmentation to restrict Dashboard API access to trusted administrative networks only, disable the create_template endpoint if not actively used, enforce strict input validation on all template parameters by implementing a template sandbox or safe whitelist of allowed template directives, and monitor template creation logs for suspicious patterns. Additionally, enforce multi-factor authentication for dashboard administrative accounts and implement rate limiting on the create_template endpoint to slow exploitation attempts. Organizations should monitor the AstrBot GitHub repository (https://github.com/AstrBotDevs/AstrBot/) and VulDB advisory (https://vuldb.com/vuln/359527) for vendor patch announcements.

Affected VersionsENISA

AstrBot 4.22.1
AstrBot 4.22.0

Affected Packages

pypi astrbot no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the create_template function within astrbot/dashboard/routes/t2i.py, which improperly neutralizes special elements used in template engine processing (CWE-1336: Template Injection). This is a server-side template injection (SSTI) flaw where user-supplied input is processed by a backend template engine without proper sanitization, allowing attackers to inject template directives. The affected CPE (cpe:2.3:a:astrbotdevs:astrbot) indicates all AstrBot versions up to and including 4.22.1 are in scope. The Dashboard API component handles template creation operations, which if exposed to untrusted input, can lead to arbitrary template expression evaluation.

Know when Astrbot gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.1 (MEDIUM) 2.0 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
CVSS changed
Apr 25, 2026 - 16:22 NVD
4.7 (MEDIUM) 5.1 (MEDIUM)
CVE Published
Apr 25, 2026 - 15:30 nvd
LOW 2.0

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-48957 HIGH POC
7.5 Jun 02

AstrBot versions 3.4.4 through 3.5.12 contain a path traversal vulnerability (CWE-23) in the dashboard feature that allo

CVE-2026-7579 MEDIUM POC
5.5 May 01

Hard-coded credentials in AstrBot Dashboard (versions ≤4.16.0) enable remote unauthenticated attackers to bypass authent

CVE-2026-6118 LOW POC
2.1 Apr 12

Command injection in AstrBot's MCP endpoint handler (add_mcp_server function) allows authenticated remote attackers to e

CVE-2026-17529 LOW POC
2.1 Jul 27

Incorrect authorization in AstrBot up to 4.25.5 allows remote authenticated users to bypass persona-based tool restricti

CVE-2026-16076 LOW POC
2.1 Jul 18

Authentication bypass by spoofing in AstrBot up to version 4.25.5 allows low-privileged remote attackers to impersonate

CVE-2026-16075 LOW POC
2.1 Jul 18

Authorization bypass in AstrBot's dashboard API allows any authenticated low-privileged user to enumerate and read chat

CVE-2026-15500 LOW POC
2.1 Jul 12

Server-side request forgery in AstrBot up to version 4.25.2 allows authenticated remote attackers to cause the server to

CVE-2026-15501 LOW POC
2.1 Jul 12

Server-side request forgery in AstrBot's dashboard MCP Test Endpoint allows low-privileged authenticated users to coerce

CVE-2026-16074 LOW POC
2.1 Jul 17

Server-side request forgery in AstrBotDevs AstrBot up to version 4.25.2 allows authenticated low-privilege users to make

CVE-2026-15499 LOW POC
2.1 Jul 12

Improper authorization in AstrBot's Scheduled Task Handler allows a remote low-privileged user to bypass authorization c

CVE-2026-10213 LOW POC
2.1 Jun 01

Path traversal in AstrBot 4.23.6 allows authenticated remote attackers to manipulate the Name parameter of the /api/skil

CVE-2026-10210 LOW POC
2.1 Jun 01

Injection in AstrBot 4.23.6 allows authenticated remote attackers to manipulate input through the `_sanitize_prompt_desc

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy