Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application
-
ExploitInject newline in script input
-
ExecutionBypass regex validation anchors
-
ImpactExecute arbitrary shell commands
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authenticated user account required. Administrator must have configured host/event action script input validation using regex with ^ and $ anchors. Attacker injects newline character to bypass validation and execute arbitrary shell commands through the script input field. |
| Impact | This vulnerability presents a moderate-to-high real-world risk despite the lack of CVSS scoring data. The authentication requirement (CWE-78 context suggests authenticated users) reduces the immediate attack surface compared to unauthenticated remote code execution, but post-authentication RCE is still critical in practice. The technical complexity is low—newline injection is trivial to execute—making exploitation highly feasible once an attacker gains initial authentication (via credential compromise, insider threat, or authentication bypass in other components). Without CVSS vector details or EPSS scoring, we assess this as high priority based on: (1) command injection being a top-tier vulnerability class; (2) the exploit being easily automatable; (3) Zabbix being widely deployed in critical monitoring infrastructure where compromise could lead to full infrastructure takeover; (4) the vendor acknowledgment (ZBX-27639 reference) suggesting confirmation. If KEV or POC data becomes available, priority should be escalated immediately. |
| Exploit ScenarioDerived | An authenticated Zabbix administrator (or attacker who has compromised admin credentials through phishing) creates a host action script with input such as '^valid_pattern$' followed by a newline and 'rm -rf /' in the script field. The regex validation in multiline mode matches '^valid_pattern$' against the first line and passes, but when the action is triggered, the entire multi-line input (including the injected shell command) is executed, resulting in arbitrary command execution on the Zabbix server with the privileges of the Zabbix daemon process. This could allow full compromise of monitoring infrastructure, lateral movement to monitored systems, and denial of service across the monitored environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
Authenticated users can bypass regex-based input validation in command injection action scripts by injecting newline characters that exploit multiline mode anchors, allowing shell command execution. This vulnerability affects systems using administrator-configured validation patterns with ^ and $ anchors, enabling authenticated attackers to achieve arbitrary command execution. No patch is currently available.
Earlier versions of this analysis (1)
A command injection vulnerability exists in Zabbix host and event action script input validation where authenticated users can bypass regex-based filtering by injecting newline characters, allowing arbitrary shell command execution. The vulnerability affects Zabbix across multiple versions and requires authentication to exploit, but enables post-authentication remote code execution. Patch availability and active exploitation status should be verified through Zabbix security advisories.
RemediationAI
Apply the security patch provided by Zabbix for vulnerability ZBX-27639 immediately, as this is a post-authentication remote code execution vulnerability affecting critical monitoring infrastructure. Consult https://support.zabbix.com/browse/ZBX-27639 for the specific patched version applicable to your deployment. As an interim mitigation while patches are being prepared or deployed, restrict administrative access to Zabbix with strong multi-factor authentication, audit all existing action scripts for suspicious content, disable or restrict host and event action script execution to only trusted scripts, and implement network segmentation to limit the blast radius if script execution is compromised. Consider deploying Zabbix in a containerized environment with restrictive AppArmor or SELinux policies to limit shell command capabilities.
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
Zabbix implements input validation for host and event action scripts using administrator-configurable regular expressions. The vulnerability stems from a common regex anchoring flaw (CWE-78: Improper Neutralization of Special Elements used in an OS Command) where the regex engine operates in multiline mode. In multiline mode, the ^ anchor matches at the start of any line and $ matches at the end of any line, not just the string boundaries. An authenticated attacker can inject a newline character followed by malicious shell commands, causing the regex to match the first line (which may pass validation) while the injected payload on subsequent lines executes without validation. This is a classic example of insufficient input sanitization combined with regex mode misconfiguration. The affected product is Zabbix (CPE: cpe:2.3:a:zabbix:zabbix:*:*:*:*:*:*:*:*), where the script execution engine processes these unsanitized inputs directly as shell commands.
Know when Zabbix 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:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (Zabbix).
CVSS VectorVendor: Zabbix
Lifecycle Timeline
2DescriptionCVE.org
Host and event action script input is validated with a regex (set by the administrator), but the validation runs in multiline mode. If ^ and $ anchors are used in user input validation, an injected newline lets authenticated users bypass the check and inject shell commands.
Executive ViewAI
Organizations using Host and event action script input face notable risk from CVE-2026-23920, a OS command injection vulnerability rated CVSS 7.7. Successful exploitation could allow attackers to execute arbitrary code or commands on affected systems, potentially leading to full system compromise. Organizations should apply vendor updates when available and consider compensating controls in the interim.
Apply vendor patch. If immediate patching is not feasible: (1) Deploy WAF rules to block injection patterns; (2) Restrict network access to affected components; (3) Enable enhanced logging 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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
SQL injection vulnerability in Zabbix before 2.2.14 and 3.0 before 3.0.4 allows remote attackers to execute arbitrary SQ
An exploitable code execution vulnerability exists in the trapper command functionality of Zabbix Server 2.4.X. Rated hi
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x bef
A Firewall Rule which allows all incoming TCP connections to all programs from any source and to all ports is created in
Zabbix Frontend provides a feature that allows admins to maintain the installation and ensure that only certain IP addre
An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix. Rated critical severity (CVSS 9.8), this
An issue was discovered in zabbix.php?action=dashboard.view&dashboardid=1 in Zabbix through 4.4. Rated critical severity
Zabbix server can perform command execution for configured scripts. Rated high severity (CVSS 8.8), this vulnerability i
SQL injection vulnerability in frontends/php/popup_bitem.php in Zabbix 1.8.15rc1 and earlier, and 2.x before 2.0.2rc1, a
Zabbix before 1.8.19rc1, 2.0 before 2.0.10rc1, and 2.2 before 2.2.1rc1 allows remote Zabbix servers and proxies to execu
Stored Cross-Site Scripting (XSS) in Zabbix 7.0.x and 7.4.x allows authenticated administrators with non-super privilege
The Zabbix Agent 2 item key smart.disk.get does not sanitize its parameters before passing them to a shell command resul
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 12 SP5 | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security | Fixed |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Fixed |
| SUSE Linux Enterprise Server 12 SP3-BCL | Fixed |
| SUSE Linux Enterprise Server 12 SP3-ESPOS | Fixed |
| SUSE Linux Enterprise Server 12 SP3-LTSS | Fixed |
| SUSE Linux Enterprise Server 12 SP4 | Fixed |
| SUSE Linux Enterprise Server 12 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise Server 12 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Fixed |
| SUSE OpenStack Cloud 8 | Fixed |
| SUSE OpenStack Cloud 9 | Fixed |
| SUSE OpenStack Cloud Crowbar 8 | Fixed |
| SUSE OpenStack Cloud Crowbar 9 | Fixed |
EUVD-2026-14952
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB