Command injection in Zabbix - CVE-2026-23920

 

Command injection in Zabbix - CVE-2026-23920

Published: March 25, 2026


Vulnerability identifier: #VU124617
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-23920
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper input validation in host and event action script processing when handling regex validation in multiline mode. A remote user can send a specially crafted script input containing a newline character to bypass ^ and $ anchors in administrator-defined regex patterns and inject arbitrary shell commands.

Successful exploitation requires the attacker to have script execution permissions and the target system to use ^ and $ anchors in its input validation regex.


Affected software

Zabbix

How to mitigate CVE-2026-23920

Install security update from vendor's website.

Zabbix - addressed in versions 7.0.22, 7.2.15, 7.4.6

External References

Related Security Bulletins