Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain administrative dashboard credentials
-
DeliveryAccess Dashboard API endpoint
-
ExploitCraft malicious template injection payload
-
InstallSubmit create_template request with injected directives
-
C2Template engine processes unsanitized input
-
ExecuteExecute arbitrary template commands
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
5DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
AstrBot versions 3.4.4 through 3.5.12 contain a path traversal vulnerability (CWE-23) in the dashboard feature that allo
Hard-coded credentials in AstrBot Dashboard (versions ≤4.16.0) enable remote unauthenticated attackers to bypass authent
Command injection in AstrBot's MCP endpoint handler (add_mcp_server function) allows authenticated remote attackers to e
Incorrect authorization in AstrBot up to 4.25.5 allows remote authenticated users to bypass persona-based tool restricti
Authentication bypass by spoofing in AstrBot up to version 4.25.5 allows low-privileged remote attackers to impersonate
Authorization bypass in AstrBot's dashboard API allows any authenticated low-privileged user to enumerate and read chat
Server-side request forgery in AstrBot up to version 4.25.2 allows authenticated remote attackers to cause the server to
Server-side request forgery in AstrBot's dashboard MCP Test Endpoint allows low-privileged authenticated users to coerce
Server-side request forgery in AstrBotDevs AstrBot up to version 4.25.2 allows authenticated low-privilege users to make
Improper authorization in AstrBot's Scheduled Task Handler allows a remote low-privileged user to bypass authorization c
Path traversal in AstrBot 4.23.6 allows authenticated remote attackers to manipulate the Name parameter of the /api/skil
Injection in AstrBot 4.23.6 allows authenticated remote attackers to manipulate input through the `_sanitize_prompt_desc
EUVD-2026-25660
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB