Four Requests to a Shell: Cacti Zero-Day Has No Patch Yet
A researcher published a four-request chain from Cacti's guest account to command execution on Cacti 1.2.31. No patch or CVE yet and no exploitation reported; disable the guest account and lock down the web interface.
A researcher has published a chain that takes an anonymous visitor to command execution on a Cacti monitoring server in four HTTP requests, and there’s no patch yet. The Hacker News reports that the bug, nicknamed 4HTTP2SHELL (or 4HTTP2ROOT), hits Cacti 1.2.31, the current release, whenever the guest account is turned on. watchTowr, which has a running FAQ on it, says no exploitation in the wild had been reported as of Nov. 27. With a public write-up out, that tends not to last.
For defenders
Affected: Cacti Core 1.2.31 with the guest account enabled. Guest access has been off by default since 0.8.7, so the exposure is installs where someone switched it on. No CVE, no CVSS and no fixed version yet.
How it works: the guest session saves a text string into the per-user setting preview_graphs_per_page through auth_profile.php?action=update_data. Cacti never checks that it’s a number. When graph_view.php loads with default filters, that string lands in the SQL LIMIT clause, and the PDO driver accepts stacked statements, so the attacker can rewrite a row in the poller table. Calling graph_realtime.php from the same guest session then hands that row to PHP’s popen(). The commands run as the account behind the web server and poller, often a low-privileged web user rather than root, per watchTowr. T1190 (Exploit Public-Facing Application), T1059.004 (Command and Scripting Interpreter: Unix Shell).
Status: exploitation in the wild NOT reported (watchTowr, Nov. 27). A public proof of concept is reported on GitHub. Not in CISA KEV.
Why it matters: Cacti stores SNMP strings and device logins for routers, switches and servers, so a shell here is a foothold into the network gear it watches. An attacker can also edit the poller table to quiet alerts.
Mitigate now: disable the guest account, restrict the web interface to trusted networks, check poller entries for odd command values, and watch logs for non-numeric value warnings on graph display settings.
What it means for you
Cacti is a tool IT teams use to draw graphs of network traffic and device health. If you don’t run it, nothing to do. If your company or your managed IT provider does, ask them today whether the “guest” login is turned on, and whether the Cacti page can be reached from the internet. Either one turns this into an open door with no fix available yet.
Do this now
- In Cacti’s user management, disable the guest account (or confirm it’s off).
- Put the Cacti web interface behind a VPN or an IP allowlist so only your admins can reach it.
- Review the poller configuration for any command you didn’t set up, and search the Cacti log for warnings about non-numeric values in graph settings.
- Watch the Cacti releases page and update as soon as a fixed version ships.
Source article: Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access
Publisher: The Hacker News (Ravie Lakshmanan)
Published: Nov. 27, 2026
URL: https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html
Executive Summary
A researcher using the handle ek0ms savi0r published, on November 26, 2026, a four-request chain (tracked as 4HTTP2SHELL, also called 4HTTP2ROOT) that takes an unauthenticated guest session on Cacti Core 1.2.31 to operating system command execution as the Cacti web and poller user. No threat actor, campaign or in-the-wild exploitation has been reported; watchTowr’s FAQ lists exploitation as “none reported” and the vendor patch as pending, with no CVE assigned. The chain abuses four failures in sequence: the guest can save the numeric per-user setting preview_graphs_per_page as an arbitrary string through auth_profile.php?action=update_data; the stored value bypasses request validation; graph_view.php, loaded with default filters, inserts it into an SQL LIMIT clause where the PHP PDO driver accepts stacked statements, letting the attacker run an UPDATE against the poller table; and graph_realtime.php, called from the same guest session, reads the modified poller row and passes it to popen() without sanitization. The objective of a real attacker would be a foothold on a server that stores SNMP strings and device credentials for network infrastructure, with the option of suppressing monitoring alerts by tampering with poller entries. The exposure is limited to deployments with the guest account enabled, which has been off by default since 0.8.7. Hunt leads, false positive expectations and the absence of published indicators are detailed below; no detection rules, network indicators or file hashes were published.
ATT&CK chain: Initial Access → Execution → Defense Evasion
Hunt Lead Grid
| Hunt Lead Level | Hunt Lead Name | ATT&CK | Risk of False Positives |
|---|---|---|---|
| 1 (Junior) | Non-Numeric Graph Setting Warnings in Cacti Logs | T1190 (Exploit Public-Facing Application) | Low. A legitimate user changing graphs per page submits a number, so a warning about a non-numeric value in that setting is close to a direct signature of the chain. |
| 2 (Pro) | Guest Session Profile Update Then Realtime Graph Request | T1190 (Exploit Public-Facing Application), T1078.001 (Valid Accounts: Default Accounts) | Low to Medium. Guests can legitimately view graphs, but they rarely save profile settings and then hit the realtime endpoint within seconds; the rule anchors on that ordered sequence from one session. |
| 2 (Pro) | Unexpected Command Values in the Poller Table | T1059.004 (Command and Scripting Interpreter: Unix Shell) | Medium. Administrators add data sources and scripts over time; the check anchors on poller rows whose command fields contain shell syntax or binaries outside the Cacti scripts directory, compared with a known-good baseline. |
| 3 (Elite) | Web Server Shell Spawned From graph_realtime.php | T1059.004 (Command and Scripting Interpreter: Unix Shell) | Medium. The Cacti poller legitimately runs scripts, so the correlation anchors on a shell child of the web server’s PHP worker, not the cron-driven poller, timed to a graph_realtime.php request. |
Non-Numeric Graph Setting Warnings in Cacti Logs
The first request of the chain saves an SQL string where Cacti expects an integer for preview_graphs_per_page. watchTowr says the research shows Cacti writing a warning about a non-numeric value in a graph display setting even though the request still succeeds. That warning is the cheapest artifact of the chain: search the Cacti log (cacti.log in the log directory, or the Cacti log viewer under Utilities) for validation warnings naming preview_graphs_per_page or graph display settings with non-numeric input, and query the settings_user table for any preview_graphs_per_page value that is not purely digits. A stored non-numeric value is a hit even if the log has rotated.
Sweep the full log retention and the settings_user table now, since the chain was published on November 26, 2026 and nothing stops someone from having found the same bug earlier. Scope it to every Cacti server, prioritizing any with the guest account enabled or the web interface reachable from untrusted networks. False positives should be rare; a user typing a mistake into the setting would normally be rejected by the form, so treat any SQL keywords or punctuation in that value as an incident and move to the poller and process leads. Do not “fix” a hit by just resetting the value: the injected statement may already have altered the poller table, so preserve the database first.
Hunt Lead Level: 1 (Junior Analyst)
ATT&CK: Initial Access → T1190 (Exploit Public-Facing Application)
Sources: “Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access”, The Hacker News, Nov. 27, 2026, https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html (source article); “Frequently Asked Questions About the Cacti Remote Code Execution (4HTTP2ROOT Zero-day)”, watchTowr, Nov. 26, 2026, https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/ (additional source, same vulnerability)
Guest Session Profile Update Then Realtime Graph Request
All four requests come from one fresh, unauthenticated guest session: a profile save to auth_profile.php with action=update_data, a load of graph_view.php with default filters (which fires the stored SQL), and a call to graph_realtime.php (which runs the tampered poller row). The detection is that ordered sequence from the same session cookie or source address within a short window, with no prior login. The profile save by a guest is the strongest single anchor, since anonymous visitors have little reason to save display preferences, and the realtime call right after it is what turns the SQL injection into command execution.
Build it on web server access logs or a reverse proxy in front of Cacti, keyed on the session cookie where it is logged and on source IP where it is not; POST bodies are not needed for the sequence, though body logging will show the injected value. Sweep from November 26, 2026 at minimum and as far back as logs go. Scope to Cacti hosts with guest access on. Benign guests generate graph_view.php traffic all day, so do not alert on graph views alone; alert on the profile save, and escalate when graph_realtime.php follows from the same session. Blocking graph_realtime.php at the proxy is a reasonable stopgap if realtime graphs are not used, but disabling the guest account is the real control, because it removes the entry point for the whole chain.
Hunt Lead Level: 2 (Pro)
ATT&CK: Initial Access → T1190 (Exploit Public-Facing Application); Initial Access → T1078.001 (Valid Accounts: Default Accounts)
Sources: “Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access”, The Hacker News, Nov. 27, 2026 (source article)
Unexpected Command Values in the Poller Table
The stacked statement in the demonstrated chain is an UPDATE against Cacti’s poller table, replacing a stored command string that the realtime poller later executes. The same write can also be used to suppress alerts by altering what the poller collects. The detection is a periodic diff of the poller-related tables against a known-good export, flagging any command field that contains shell metacharacters (semicolons, pipes, backticks, $( ), redirections), network tools such as curl, wget or nc, or a path outside Cacti’s own scripts and resource directories. watchTowr’s guidance to check poller settings for unexpected commands points at the same artifact.
Take a database export now as the baseline only after confirming it is clean; if the Level 1 lead has hits, compare against a backup from before November 26, 2026. Run the diff daily or enable MySQL/MariaDB general or audit logging for UPDATE statements on the poller tables that originate from the web application rather than from an administrator’s console session. Expect some noise from legitimate data source changes; confirm with the Cacti owners and record approved commands in an allowlist. Any command string the owners did not add is an incident. Hash or file blocking is the wrong tool here, because the payload lives in a database row, not a file.
Hunt Lead Level: 2 (Pro)
ATT&CK: Execution → T1059.004 (Command and Scripting Interpreter: Unix Shell)
Sources: “Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access”, The Hacker News, Nov. 27, 2026 (source article); “Frequently Asked Questions About the Cacti Remote Code Execution (4HTTP2ROOT Zero-day)”, watchTowr, Nov. 26, 2026 (additional source)
Web Server Shell Spawned From graph_realtime.php
The final step passes the tampered poller row to PHP’s popen(), which on Linux runs it through /bin/sh as a child of the web server’s PHP process (php-fpm, or the Apache worker with mod_php). Cacti’s normal poller runs from cron as poller.php and spawns its scripts from there; a shell spawned by the web worker in the moment a graph_realtime.php request is served is the distinguishing pattern. The correlation joins EDR or auditd process telemetry (parent php-fpm, apache2 or httpd; child sh, bash, dash, or common follow-on tools such as curl, wget, nc, python or perl) with the access log entry for graph_realtime.php within a few seconds, and adds outbound connections from that child to addresses outside the monitoring network. watchTowr also lists new files created by the poller process as a sign the chain has run.
Use auditd execve rules or an EDR sensor on the Cacti host, plus the web access log; NetFlow or firewall logs supply the network half. Scope to Cacti servers and sweep from November 26, 2026. Expect some legitimate web-worker children if realtime graphs are in use, since that feature can invoke data collection; baseline what graph_realtime.php normally spawns for a week and alert on anything outside that set, especially interactive shells and download tools. Any hit should go straight to incident response: the attacker will have the web user’s access to the Cacti database, including stored SNMP communities and device credentials, so plan to rotate those on every device Cacti polls. This parent-child pattern generalizes to most PHP applications that shell out, and is worth keeping after this bug is patched.
Hunt Lead Level: 3 (Elite)
ATT&CK: Execution → T1059.004 (Command and Scripting Interpreter: Unix Shell)
Sources: “Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access”, The Hacker News, Nov. 27, 2026 (source article); “Frequently Asked Questions About the Cacti Remote Code Execution (4HTTP2ROOT Zero-day)”, watchTowr, Nov. 26, 2026 (additional source)
Hash Appendix
4HTTP2SHELL chain
No file hashes were published in the source article or the watchTowr FAQ; the chain is a sequence of HTTP requests and database writes with no attacker files. No lookups in OTX AlienVault or VirusTotal were made for this report.
MD5s
(not available) # no attacker files published
SHA1s
(not available) # no attacker files published
SHA256s
(not available) # no attacker files published
References Appendix
- “Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access”, The Hacker News (Ravie Lakshmanan), Nov. 27, 2026, https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html
- “Frequently Asked Questions About the Cacti Remote Code Execution (4HTTP2ROOT Zero-day)”, watchTowr, Nov. 26, 2026, https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
- Cacti User Management documentation (guest account), Cacti, https://docs.cacti.net/User-Management.md