Skip to content
OpenAdvisories
Medium · 6.9 CVE-2025-24368 EUVD-2025-3682

Cacti has a SQL Injection vulnerability when using tree rules through Automation API

Published Jan 27, 2025 · Updated Nov 3, 2025 · Assigned by GitHub_M

Description

Cacti is an open source performance and fault management framework. Some of the data stored in automation_tree_rules.php is not thoroughly checked and is used to concatenate the SQL statement in build_rule_item_filter() function from lib/api_automation.php, resulting in SQL injection. This vulnerability is fixed in 1.2.29.

Affected products

VendorProductAffectedFixed
Cacti cacti < 1.2.29 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cacti 1.2.28+ds1-4 —
Debian 13 cacti 1.2.28+ds1-4 —
Debian 12 cacti 1.2.24+ds1-1+deb12u5 DSA-5862-1
Debian 11 cacti 1.2.16+ds1-2+deb11u5 DLA-4048-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 cacti No fix yet —
Ubuntu 24.04 LTS cacti No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS cacti No fix yet —
Ubuntu Pro 20.04 LTS cacti No fix yet —
Ubuntu Pro 18.04 LTS cacti No fix yet —
Ubuntu Pro 16.04 LTS cacti No fix yet —
Ubuntu Pro 14.04 LTS cacti No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 cacti 1.2.29-r0 —
Alpine v3.23 cacti 1.2.29-r0 —
Alpine v3.22 cacti 1.2.29-r0 —
Alpine v3.21 cacti 1.2.29-r0 —

Advisories 3

References