7.7High

CVE-2026-23920Host and event action script regex validation can be bypassed in certain situations, leading to potential command injection

Zabbix Zabbix Published: (7 months ago)

Description

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.

Weakness (CWE): CWE-78

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Zabbix Zabbix 7.0.0 – < 7.0.22

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:zabbix:zabbix:*:*:*:*:*:*:*:* ≥ 7.0.0 < 7.0.22
  • cpe:2.3:a:zabbix:zabbix:*:*:*:*:*:*:*:* ≥ 7.2.0 < 7.2.15
  • cpe:2.3:a:zabbix:zabbix:*:*:*:*:*:*:*:* ≥ 7.4.0 < 7.4.6