CVE-2025-27240 Secondary-order SQL injection in Zabbix Server when deleting an autoregistered host

High 7.5 Published Updated

A Zabbix administrator can inject arbitrary SQL via the Visible name field during host autoremoval, potentially compromising database integrity.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-27240?

CVE-2025-27240 is a high-severity SQL injection vulnerability in Zabbix Zabbix, published on 12 Sep 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A Zabbix adminitrator can inject arbitrary SQL during the autoremoval of hosts by inserting malicious SQL in the 'Visible name' field.

Weakness: CWE-89

Which versions are affected by CVE-2025-27240?

It affects 1 product.

Products include Zabbix Zabbix.

How do I fix CVE-2025-27240?

Apply the vendor's patch.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-27240 being exploited?

There is no known exploitation of CVE-2025-27240 in the wild and no public exploit code.

All Zabbix Zabbix vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-27240, GHSA-pvp6-r25h-5wh3, UBUNTU-CVE-2025-27240.

Is CVE-2025-27240 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free