CVE-2025-27240
Zabbix Server vulnerability analysis and mitigation

Overview

CVE-2025-27240 is a secondary-order SQL injection vulnerability in Zabbix Server that allows an authenticated administrator to inject arbitrary SQL commands during the auto-removal of hosts by inserting malicious SQL in the 'Visible name' field. It was disclosed on September 12, 2025, and affects Zabbix versions 6.0.0–6.0.33, 6.4.0–6.4.18, and 7.0.0–7.0.3. The vulnerability carries a CVSS v3.1 base score of 7.2 (High) and a CVSS v4.0 base score of 7.5 (High) (Zabbix Advisory, Red Hat).

Technical details

The root cause is improper neutralization of special elements used in an SQL command (CWE-89), specifically a secondary-order (stored) SQL injection. An attacker with Zabbix administrator privileges sets a malicious SQL payload in the 'Visible name' field of a host; this stored value is later unsafely incorporated into a SQL query when the Zabbix Server's autoregistration action triggers host deletion/removal. Exploitation requires the attacker to have administrator-level access and for an autoregistration action that removes hosts to be configured and triggered (Zabbix Advisory).

Impact

Successful exploitation could allow an authenticated administrator to execute arbitrary SQL commands against the Zabbix database, leading to unauthorized data access, data manipulation, and potential full database compromise. This threatens the confidentiality, integrity, and availability of the Zabbix monitoring system and any sensitive infrastructure data it stores, such as host credentials, monitoring configurations, and network topology (Zabbix Advisory, Red Hat).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS score is approximately 0.039%, reflecting a low probability of near-term exploitation. Exploitation requires high privileges (Zabbix administrator access) and a specific configuration (autoregistration actions that remove hosts must be enabled), significantly limiting the attack surface (Zabbix Advisory, Feedly).

Exploitation steps

  1. Gain Administrator Access: Obtain Zabbix administrator credentials through phishing, credential stuffing, or insider access.
  2. Configure Malicious Host: Create or modify a host in Zabbix and set the 'Visible name' field to a crafted SQL injection payload (e.g., a string that breaks out of the expected SQL context and appends malicious SQL statements).
  3. Trigger Autoregistration Removal: Ensure an autoregistration action is configured to auto-remove hosts. Wait for or trigger the condition that causes Zabbix Server to process the autoremoval of the host with the malicious 'Visible name'.
  4. SQL Injection Executes: When the Zabbix Server processes the host deletion, the stored malicious SQL in 'Visible name' is incorporated unsafely into a SQL query, executing the attacker's payload against the backend database.
  5. Achieve Objective: Depending on the payload, the attacker can exfiltrate sensitive data, modify records, escalate privileges within the database, or cause denial of service (Zabbix Advisory).

Indicators of compromise

  • Logs: Zabbix server logs showing unexpected SQL errors or anomalous query patterns during host autoremoval events; database error logs referencing malformed queries triggered by host deletion.
  • Database: Unexpected changes to Zabbix database tables (e.g., hosts, users, config) not attributable to normal administrative activity; new or modified records inconsistent with known administrator actions.
  • Application: Hosts in Zabbix with 'Visible name' fields containing SQL metacharacters (e.g., single quotes, comment sequences --, /**/, UNION, SELECT) that are not part of legitimate naming conventions.
  • Network: Unusual outbound connections from the Zabbix server host if the SQL injection is leveraged for OS-level command execution via database features (e.g., xp_cmdshell on MSSQL or LOAD_FILE/INTO OUTFILE on MySQL).

Mitigation and workarounds

Zabbix has released patched versions addressing this vulnerability: 6.0.34 (for 6.0.x), 6.4.19 (for 6.4.x), and 7.0.4 (for 7.0.x). Organizations unable to upgrade immediately should disable any autoregistration actions configured to remove hosts as a temporary workaround. Additionally, restricting administrator access following the principle of least privilege and auditing administrator actions are recommended compensating controls (Zabbix Advisory).

Community reactions

The vulnerability was reported to Zabbix via the HackerOne bug bounty platform by researcher Grzegorz Muszyński (szerszen199), and Zabbix acknowledged the submission. Red Hat has also tracked the CVE for its products. No significant broader media coverage or notable community debate has been observed beyond standard vulnerability database entries (Zabbix Advisory, Red Hat).

Additional resources


SourceThis report was generated using AI

Related Zabbix Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23928HIGH7.3
  • Zabbix Server logoZabbix Server
  • zabbix
NoNoMay 06, 2026
CVE-2026-23926HIGH7.3
  • Zabbix Server logoZabbix Server
  • cpe:2.3:a:zabbix:zabbix
NoNoMay 06, 2026
CVE-2026-23923MEDIUM6.9
  • Zabbix Server logoZabbix Server
  • cpe:2.3:a:zabbix:zabbix
NoNoMar 24, 2026
CVE-2026-23924MEDIUM6.1
  • Zabbix Server logoZabbix Server
  • zabbix
NoNoMar 24, 2026
CVE-2026-23927MEDIUM5.1
  • Zabbix Server logoZabbix Server
  • zabbix
NoNoMay 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management