Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise admin credentials
-
DeliveryAuthenticate to Zammad admin panel
-
ExploitNavigate to AI Agent configuration
-
InstallInject malicious template in type_enrichment_data
-
C2Trigger template processing (user saves config or AI processes ticket)
-
ExecuteExecute arbitrary code as Zammad app user
-
ImpactEstablish persistence or exfiltrate data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Administrative access to Zammad with permissions to modify AI Agent configuration settings (specifically the type_enrichment_data parameter) is required. The AI Agent feature must be enabled in the Zammad instance, which is a specific configuration option introduced in version 7.0.0 and not part of default minimal deployments. User interaction is required (CVSS UI:A) to trigger template processing, typically when an administrator saves configuration changes or when the AI Agent processes tickets using the manipulated enrichment rules. Attack complexity is high (AC:H) due to prerequisite conditions (AT:P) requiring both the AI Agent feature to be actively configured and an authenticated session with high privileges (PR:H). Exploitation is limited to Zammad 7.0.0 installations only; earlier versions lack the vulnerable AI Agent code path. Environments that have not enabled or configured AI Agent functionality, even if running 7.0.0, have significantly reduced attack surface as the vulnerable code path may not be accessible. |
| Impact | Real-world risk is significantly constrained despite the 8.7 CVSS score. Multiple mitigating factors reduce practical exploitation probability: CVSS vector shows AV:N/AC:H/AT:P/PR:H/UI:A, requiring network access with high attack complexity, prerequisite conditions, high-privilege administrator credentials, and user interaction. The 0.04% EPSS score (13th percentile) confirms low observed exploitation likelihood. Impact is limited to environments where an attacker has already compromised high-privilege administrative accounts, representing a post-compromise escalation scenario rather than an initial access vector. The vulnerability requires specific configuration of AI Agent features and manipulation of type_enrichment_data parameters, which are not exposed to standard users. No CISA KEV listing indicates no widespread active exploitation. However, for organizations running Zammad 7.0.0 in production with AI Agent features enabled, this represents critical risk if administrative credentials are compromised, as it provides a covert persistence and lateral movement mechanism. The narrow version range (only 7.0.0 affected) limits exposure to early adopters of the AI features. Priority should be high for Zammad 7.0.0 deployments but can be lower for organizations on earlier versions or those without AI Agent functionality enabled. |
| Exploit ScenarioDerived | An attacker who has compromised administrative credentials through phishing or credential stuffing accesses the Zammad admin interface. They navigate to AI Agent configuration settings and inject malicious ERB template syntax (e.g., <%= system('whoami') %>) into the type_enrichment_data parameter, disguising it as legitimate AI enrichment rules. When another administrator or the system triggers AI Agent processing on incoming support tickets, the template engine evaluates the injected code, executing arbitrary commands with the privileges of the Zammad application user. The attacker establishes a reverse shell, exfiltrates customer support data including sensitive tickets, or pivots to internal network resources accessible from the Zammad server. No public exploit identified at time of analysis, but the attack technique (SSTI in Ruby frameworks) is well-documented in penetration testing methodologies. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 17, 2026
Remote code execution in Zammad 7.0.0 allows authenticated administrators with high-level privileges to inject malicious server-side templates through AI Agent configuration parameters, leading to arbitrary code execution on the helpdesk server. Exploitation requires administrative access to control type_enrichment_data settings and user interaction. Vendor-released patch version 7.0.1 is available. EPSS score of 0.04% indicates low exploitation probability in the wild; no public exploit identified at time of analysis.
Earlier versions of this analysis (1)
Remote code execution in Zammad open-source helpdesk system versions prior to 7.0.1 through server-side template injection in AI Agent configuration. Attackers with high-privilege administrative access who can control or influence type_enrichment_data parameters can execute arbitrary code on the server. Exploitation requires authenticated administrative credentials and user interaction. No public exploit identified at time of analysis.
RemediationAI
Immediately upgrade Zammad installations to version 7.0.1, which contains the vendor-released patch addressing the template injection flaw. The upgrade path is straightforward for version 7.0.0 users and detailed instructions are available in the GitHub security advisory at https://github.com/zammad/zammad/security/advisories/GHSA-fg9w-jg8f-4j94. For environments where immediate patching is not feasible, implement compensating controls: disable AI Agent functionality entirely through the admin interface until patching is complete (this eliminates the vulnerable code path but removes AI-driven ticket enrichment features); restrict administrative console access to trusted IP ranges via firewall rules or reverse proxy ACLs (reduces attack surface but does not prevent exploitation by legitimate admins or if admin credentials are compromised); implement comprehensive audit logging of all changes to AI Agent configuration parameters, specifically monitoring type_enrichment_data modifications (enables detection but does not prevent exploitation); enforce mandatory multi-factor authentication for all administrative accounts (raises bar for credential compromise but adds operational overhead). Note that compensating controls only reduce risk and are not substitutes for patching. Organizations not using AI Agent features can verify the feature is disabled, which effectively eliminates vulnerability without service disruption.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zammad is an open-source Ruby on Rails-based helpdesk and customer support platform. This vulnerability stems from CWE-94 (Improper Control of Generation of Code), specifically server-side template injection (SSTI) in the AI Agent functionality introduced in version 7.0.0. The type_enrichment_data parameter, which configures AI-driven ticket enrichment features, lacks proper input sanitization before being processed by the template engine. When an attacker with administrative privileges crafts malicious template syntax within this configuration parameter, the Rails template engine (likely ERB - Embedded Ruby) evaluates the injected code server-side during AI Agent operations. This allows arbitrary Ruby code execution within the Zammad application context, inheriting the web application's permissions on the underlying operating system. The vulnerability is specific to the AI Agent feature set, which appears to be a recent addition to the platform.
Know when Zammad 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:H/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
Zammad is a web based open source helpdesk/customer support system. Prior to 7.0.1, a server-side template injection vulnerability which leads to RCE via AI Agent exists. Impact is limited to environments where an attacker can control or influence type_enrichment_data (typically high-privilege administrative configuration). This vulnerability is fixed in 7.0.1.
Executive ViewAI
Zammad helpdesk versions up to 7.0.0 contain a remote code execution vulnerability in AI Agent configuration that allows authenticated administrators to execute arbitrary code on the server. Organizations using Zammad must upgrade immediately, as administrator compromise or insider threats could lead to complete server takeover and customer data exposure.
Apply vendor patch: Zammad 7.0.1 or later. Interim mitigations pending patch deployment: restrict administrative console access to trusted personnel only, disable AI Agent functionality if unused, and monitor type_enrichment_data parameter modifications in audit logs for suspicious activity.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Session hijacking in self-hosted Zammad 6.3.0 through 6.5.4 allows remote, unauthenticated attackers to take over a legi
Local privilege escalation in Zammad lets an attacker who already controls the unprivileged 'zammad' service account ele
An issue was discovered in Zammad before 1.0.4, 1.1.x before 1.1.3, and 1.2.x before 1.2.1. Rated critical severity (CVS
An issue was discovered in Zammad before 1.0.4, 1.1.x before 1.1.3, and 1.2.x before 1.2.1, caused by lack of a protecti
Zammad 5.2.0 is vulnerable to privilege escalation. Rated critical severity (CVSS 9.8), this vulnerability is remotely e
An issue was discovered in Zammad before 4.1.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo
An issue was discovered in Zammad before 4.1.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo
An issue was discovered in Zammad before 3.4.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo
An issue was discovered in Zammad before 6.3.0. Rated critical severity (CVSS 9.1), this vulnerability is remotely explo
Zammad's SSO auto-linking logic can be abused to take over any existing local account, including agent and administrator
An access control issue in Zammad v5.0.3 allows attackers to write entries to the CTI caller log without authentication.
An issue was discovered in Zammad before 4.1.1. Rated critical severity (CVSS 9.1), this vulnerability is remotely explo
EUVD-2026-20564
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB