Description
Cacti provides an operational monitoring and fault management framework. In versions 1.2.25 and prior, it is possible to execute arbitrary SQL code through the `pollers.php` script. An authorized user may be able to execute arbitrary SQL code. The vulnerable component is the `pollers.php`. Impact of the vulnerability - arbitrary SQL code execution. As of time of publication, a patch does not appear to exist.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Cacti | cacti | <= 1.2.25 | — |
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 | 1.2.26+ds1-1 | — |
| Debian 13 | cacti | 1.2.26+ds1-1 | — |
| Debian 12 | cacti | 1.2.24+ds1-1+deb12u2 | DSA-5646-1 |
| Debian 11 | cacti | 1.2.16+ds1-2+deb11u3 | DSA-5646-1 |
| Debian 10 | cacti | 1.2.2+ds1-2+deb10u6 | DLA-3765-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 14.04 LTS | cacti | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | cacti +1 | 1.2.26-bp155.2.6.1 | openSUSE-SU-2024:0031-1 |
| SUSE Package Hub 12 | cacti +1 | 1.2.26-bp155.2.6.1 | openSUSE-SU-2024:0031-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cacti | 1.2.26-1.1 | openSUSE-SU-2024:13533-1 |
| openSUSE Leap 15.5 | cacti +1 | 1.2.26-bp155.2.6.1 | openSUSE-SU-2024:0031-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cacti | 1.2.26-r0 | — |
| Alpine v3.23 | cacti | 1.2.26-r0 | — |
| Alpine v3.22 | cacti | 1.2.26-r0 | — |
| Alpine v3.21 | cacti | 1.2.26-r0 | — |
| Alpine v3.20 | cacti | 1.2.26-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | cacti | 1.2.26-r0 | — |
| Alpine v3.18 | cacti | 1.2.26-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Cacti RCE via SQLi in pollers.php
exploit/multi/http/cacti_pollers_sqli_rce
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 5
- DSA-5646-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3765-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:13533-1 cacti-1.2.26-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:0031-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-3221 Cacti: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 21, 2024
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-vr3c-38wh-g855
- https://github.com/Cacti/cacti/blob/5f6f65c215d663a775950b2d9db35edbaf07d680/pollers.php#L451
- http://packetstormsecurity.com/files/176995/Cacti-pollers.php-SQL-Injection-Remote-Code-Execution.html
- https://lists.debian.org/debian-lts-announce/2024/03/msg00018.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/