On 26 November a researcher published a chain that reaches command execution on Cacti Core 1.2.31 in four unauthenticated HTTP requests. The entry point is the guest account. Previdian’s tracker logged attempts beginning 27 November and last observed them on 30 November, with the tracker’s own caveat that the attempts show neither a vulnerable target nor a successful compromise 1. watchTowr captured active exploitation on 27 November, and its 29 November update says the flaw is exploited in the wild 2. Neither firm has named a victim or a confirmed compromise. Cacti Core 1.2.31 is under reported exploitation, no CVE has been assigned, and it is not in the CISA KEV catalog 1.
Four requests, one setting, one command
The chain is a stored SQL injection that runs through a per-user display preference. auth_profile.php?action=update_data stores the posted value for preview_graphs_per_page, the setting for how many graphs the preview page shows, as text; the advisory’s only check is that the setting name is known 3. watchTowr’s walkthrough starts the same way, from a guest session that writes an unvalidated value into a per-user display setting 2. The advisory documents that write for an authenticated Normal User holding realm 7 (View Graphs) and realm 20 (Update Profile), both part of the default Normal User set 3, and a guest session reaches that endpoint without a login 2. When graph_view.php loads in preview mode, that stored value becomes the default for the graphs request variable, and the validation seam applies defaults without running the integer filter, so the text survives 3. It is then concatenated into the LIMIT clause of the graph query, and because the PDO connection keeps emulated prepares and multi-statements on, a second statement stacked onto the end runs as well 3. That second statement changes a poller setting to a shell command, and a separate page that a guest can reach then executes it 2. Four failures line up: a numeric setting accepted text, a stored default skipped validation, the driver ran more than one statement, and the poller trusted a command string it read from the database.
The shell runs as the web server account
In the researcher’s lab the shell came back as root, and that is the part most likely to be repeated without the caveat. watchTowr’s FAQ says the privilege matches whichever account runs the Cacti web server and poller, often a low-privileged web user rather than root 2. Previdian makes the same point, that on typical deployments commands execute with the privileges of the application process 4. So the honest reading is a shell as www-data or apache on most boxes, and root only where somebody runs the whole stack as root.
The fix is a maintenance patch
Cacti has not shipped a fixed version. The 1.2.31 fix is a maintenance-branch pull request, #9013, merged on 28 November as commit 8910e2a, and the advisory lists 1.2.32 as the patched release, with matching fixes on the 1.2.x and develop branches 5 3. Until 1.2.32 is out, an operator has two moves. The first is the patch itself, applied by hand to a 1.2.31 install. The second closes the entry point: set Guest User to No User under Console, Configuration, Settings, Authentication, which removes the unauthenticated guest session the chain runs through 3. That second move is a mitigation and not a fix; the SQL injection underneath stays, and Previdian is explicit that disabling guest access does not fix it 4.
What I check on a monitoring box
The version string is the least of it. A Cacti host stores the SNMP strings and the device logins for everything it graphs, so the question is whether guest access is switched on and who can reach the web interface 2. I would take the boxes in this order. Any instance with the guest account enabled goes first, because the chain needs nothing else. Then any instance whose web interface answers from outside the management network, guest on or off. The version string comes last, after those two. On the ones that have been reachable, I would read the Cacti logs for the non-numeric-value warnings the chain throws even when its request succeeds 2, and I would look at the poller and user-setting rows for a command or a page-size value that does not belong 2 3. Patching closes the hole but does not undo what already ran; if the logs show the chain, treat the box as compromised even after the patch is on.
I put a Cacti box near the top of my list because of what the team lets it reach, and this chain needs no memory corruption and no credentials, only a guest session. The exploit has been public and in use for days with no identifier to look up, so the first question I would answer about any Cacti host is whether a stranger can pull a graph page out of it.
-
Previdian. (2026, December 1). VULN-2026-0010: Cacti SQL injection, exploitation attempts observed by our honeypots. Previdian. https://previdian.com/VULN-2026-0010 ↩︎ ↩︎
-
watchTowr. (2026, November 29). Frequently asked questions about the Cacti remote code execution (4HTTP2ROOT zero-day). watchTowr. https://www.watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎
-
Cacti. (2026, November 29). GHSA-5x85-g4vc-gq53: authenticated SQL injection (stacked queries) via an unvalidated profile setting reaching the graph preview LIMIT clause; a Normal User can become administrator. GitHub Security Advisories. https://github.com/Cacti/cacti/security/advisories/GHSA-5x85-g4vc-gq53 ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎
-
Dewhurst, R. (2026, November 26). Cacti zero-day (4HTTP2ROOT): what we know so far. Previdian. https://blog.previdian.com/cacti-zero-day-what-we-know-so-far/ ↩︎ ↩︎
-
Cacti. (2026, November 28). fix(security): protect profile changes and graph pagination on 1.2.31 (pull request #9013, commit 8910e2a). GitHub. https://github.com/Cacti/cacti/pull/9013 ↩︎