Cacti: four guest requests end in a shell
A remote code execution chain in Cacti runs through the guest account and needs no valid session. No patch is out yet, so the work is to close the entry point and read the logs.

Generated image · SecuFocus
At a glance
Key points
The 4HTTP2ROOT flaw strings together four unauthenticated requests to turn a display setting into a command the Cacti poller runs. The researcher validated it against Cacti Core 1.2.31 with the guest account enabled, and Cacti has not shipped a fixed version yet.
Four requests, no login
The chain described by watchTowr comes down to four HTTP requests sent with no account and no valid session. The first one establishes a guest session. The second writes an unvalidated value into a per-user display setting, “preview_graphs_per_page”, which is meant to be a page size and is not checked as an integer.
The third request makes the graph preview page read that stored setting and concatenate it into a “LIMIT” clause the database treats as more than one statement. One of the injected statements rewrites a poller setting into a shell command. The fourth request goes through the realtime poller, reachable from the same guest session, which runs the stored value.
Nothing in the HTTP response gives the operation away: the preview page still looks normal. The only application trace the researcher found is a PHP warning about a non-numeric value, a log line few teams alert on.
Cacti Core 1.2.31, guest account on, patch pending
watchTowr names a single product and a single affected version: Cacti Core 1.2.31, with the “Fixed Version” column reading “Not yet available”. The vendor has not confirmed a fix, and the “Vendor patch” status sits at “Pending”.
Four states come with the advisory: no CVE identifier assigned, a CVSS score of 0.0 (v3.1), no listing in the CISA KEV catalogue, and no exploitation reported in the wild as of 27 November 2026.
Guest access is not a side setting here: the whole chain runs through the unauthenticated session, so a deployment with the guest account disabled does not expose this entry point.
What a monitoring server hands over
Cacti polls routers, switches, servers and other devices across a network, and stores the credentials to do it, including SNMP strings and device logins. watchTowr calls it a central point of trust in many enterprise networks: rights gained on that server reach well past monitoring.
The privilege level obtained matches the account running the web server and the poller process. watchTowr notes it is often a low-privileged web user rather than root. The researcher worked in an isolated lab where the web tier and the poller ran as root, which is the worst case rather than the common one.
The most exposed deployments run Cacti Core 1.2.31 with the guest account enabled, especially where the web interface can be reached from untrusted networks.
The checks, in order
First action, the one that breaks the chain: disable the guest account in Cacti’s user administration. Second: restrict network access to the Cacti web interface to trusted internal networks only. Both appear as written in watchTowr’s guidance while no official patch exists.
Then come two log-based checks. Review poller configuration entries for unexpected commands that do not match a normal polling setup. Then look in the application logs for warnings about non-numeric values in display settings, which the chain produces.
None of this works by eye on a large estate: it assumes a reliable list of the Cacti instances actually in service, including the ones stood up for a test or left on an old network segment.
What the disclosure does not say
The chain was validated on a lab instance of Cacti Core 1.2.31, not on production systems. No exploitation in the wild has been reported so far, and no CVE identifier has been assigned: this is a researcher’s demonstration, not an active-exploitation advisory.
The missing CVE also explains the CVSS score of 0.0 (v3.1) shown in the advisory, which should not be read as an absence of severity but as a record not yet filled in with a formal identifier. The affected-versions table lists 1.2.31 only: it says nothing about earlier versions, nor about any code-level workaround.
Finally, the researcher’s write-up describes root-level execution because the lab ran that way. On a real installation the rights gained are those of the web process, which changes the scope of an incident without removing the risk: the credentials stored in Cacti remain reachable from the compromised account.
Check and explore
Sources for this article
Numbers connect each reference to the passages that use it. Dates show when the documentation was consulted.
This article draws on the sources above. The exercises are for you to try on your devices; SecuFocus does not present them as tests carried out by its editorial team. Interfaces and features can change. Method and corrections.
Cite this article
Keep this reference with the article when you save or share it.