Description
SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitrary SQL commands via the parent_id parameter in an item_edit action.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cacti | 0.8.8g+ds1-2 | — |
| Debian 13 | cacti | 0.8.8g+ds1-2 | — |
| Debian 12 | cacti | 0.8.8g+ds1-2 | — |
| Debian 7 | cacti | 0.8.8a+dfsg-5+deb7u9 | DLA-560-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | cacti | 0.8.8f+ds1-4ubuntu4.16.04.2 | — |
| Ubuntu 14.04 LTS | cacti | 0.8.8b+dfsg-5ubuntu0.2 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cacti | 0.8.8h-1.2 | openSUSE-SU-2024:10084-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.3 | cacti | 0.8.8g-r1 | — |
| Alpine v3.2 | cacti | 0.8.8g-r1 | — |
Advisories 2
- DLA-560-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10084-1 cacti-0.8.8h-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201607-05 vendor-advisory
- [oss-security] 20160310 please assign CVE for cacti bug 2667: SQL Injection Vulnerability mailing-list
- 84324 vdb-entry
- openSUSE-SU-2016:1328 vendor-advisory
- http://bugs.cacti.net/view.php?id=2667
- [oss-security] 20160315 Re: please assign CVE for cacti bug 2667: SQL Injection Vulnerability mailing-list