Skip to content
Cacti 4HTTP2ROOT Zero

Cacti 4HTTP2ROOT Zero

Cyberkendra •Vivek • November 28, 2026

Exploitation attempts against 4HTTP2ROOT, an unpatched exploit chain that lets an unauthenticated visitor run operating system commands on Cacti servers with guest access turned on, began less than a day after the code went public.

4HTTP2ROOT, also tracked as 4HTTP2SHELL, strings together a stored, second-order SQL injection in a user display setting and the way Cacti’s real-time graphing feature runs poller commands. The attack needs only four ordinary HTTP requests and no password. The researcher confirmed it on Cacti 1.2.31, the current release of the open-source network monitoring tool. No CVE ID or CVSS score has been assigned.

The chain was published on GitHub on Thursday, November 26, 2026, by a researcher using the handle ek0ms savi0r, together with a technical write-up and working proof-of-concept code.

Exposure-management firm watchTowr followed with a 4HTTP2ROOT FAQ the same day and said it had alerted its own clients whose Cacti instances are exposed. Previdian, another security firm, said it reproduced the exploit in its lab and saw the first attempts against its Cacti honeypots on November 27.

As of November 28, the Cacti project has published no security advisory, no patched release, and no public statement on 4HTTP2ROOT. Disabling guest access is the only mitigation available.

Why a Cacti Compromise Matters

C a cti is a PHP and MySQL front end for RRDtool that network teams use to poll routers, switches, servers and other devices, usually over SNMP, and draw traffic and performance graphs. A Cacti server therefore tends to sit inside the management network and store the SNMP community strings and device credentials it needs to query everything it watches.

Guest access is the feature that lets anyone view graphs without logging in, which many organizations use for wallboards and shared dashboards. The Cacti documentation says guest access is disabled by default and has been since version 0.8.7. An administrator has to enable the built-in guest account and select it as the guest user in the authentication settings before anonymous visitors get in. watchTowr describes that setup as a common configuration.

How the 4HTTP2ROOT Chain Works

The first request loads the user profile page, auth_profile.php, which hands a guest visitor a session cookie and a CSRF token without asking for credentials.

The second request uses the same profile page to save a value for preview_graphs_per_page, the per-user setting that controls how many graphs appear on a preview page. Cacti stores the value with a prepared statement, so the write itself is safe, but it never checks that the value is a number. The attacker saves a string that carries an extra SQL statement instead of a page count.

The third request opens the graph preview page, graph_view.php. Cacti reads the stored setting back and pastes it into the LIMIT clause of the query that lists the graphs the user may see. The database driver accepts more than one statement in a single call, so the hidden statement runs too. In the published proof of concept it rewrites the arg1 field of a row in the poller_item table, the column that holds the command Cacti runs to collect data for that item. Cacti logs a PHP warning a non-numeric value, but the page renders normally for the attacker.

The fourth request calls graph_realtime.php, the realtime graph endpoint that guests can also reach. That starts Cacti’s realtime poller, which reads the poller_item row and passes its arg1 value to PHP’s popen() function with no allowlist. The attacker’s command then runs on the server. The researcher’s write-up sums up the flaw this way: “The database row the guest can write is the row the poller executes.”

Commands run with the rights of the account behind the Cacti web server and poller. The researcher’s lab screenshot shows a root shell, but that depends on how the lab was set up. A second, independent proof of concept posted to GitHub on November 27 ran its commands as the www-data web user, and its author calls the “root” in the name conditional. watchTowr also notes that production installs usually run Cacti as a low-privileged web user. Either way, the attacker lands on a host that holds network device credentials. The request sequence also needs a valid graph ID and poller item on the target server.

Which Cacti Versions Are Affected by 4HTTP2ROOT

Cacti 1.2.31, released on June 15, 2026, is the only version confirmed vulnerable, and it is the latest release on the project’s GitHub releases page . The researchers watchTowr and Previdian both say the full affected range has not been established. Earlier 1.2.x builds that the same profile and realtime poller code may also be exposed, but no one has published testing that confirms it.

There is no fixed version. The newest entry on Cacti’s security advisories page is dated July 27, 2026, and none of the published sources say whether the researcher reported the chain to the Cacti team before releasing it.

Cacti’s guest-facing graph pages have produced serious bugs before. Version 1.2.31 itself fixed CVE-2026-39893 , a 9.8-rated SQL injection in graph_view.php that the Cacti team said was reachable without authentication on installs with guest viewing enabled. In 2020, CVE-2020-8813 let attackers run code through the real-time graph feature when guests had access to it.

Is 4HTTP2ROOT Being Exploited?

Attackers started testing for 4HTTP2ROOT within a day. Previdian said its Cacti honeypots logged 22 SQL injection attempts from a single IP address on November 27, roughly 14 hours after it began watching for the flaw. The requests carried time-based SQL injection payloads, which check whether a target is vulnerable by making the database pause, and Previdian said none of them led to confirmed command execution. It has not said which pages or parameters the requests targeted.

watchTowr said that as of November 27 no exploitation in the wild had been reported to it, and 4HTTP2ROOT is not in CISA’s Known Exploited Vulnerabilities catalog. Previdian has added it to its own exploited-vulnerability list as VULN-2026-0010.

Two working exploits are public. The researcher’s GitHub repository includes a shell script, 4http2shell-shell.sh, that sends the four requests, drops a PHP web shell and checks the result with the id and whoami commands. A second researcher’s Python reproduction followed on November 27. At least one exploit-database listing for that code carries a CVE number, but no CVE has been assigned to 4HTTP2ROOT, and the code’s own notes say so. With public exploits, early probing and no patch, any internet-facing Cacti 1.2.31 server with guest access enabled should be treated as exposed.

How to Check a Cacti Server for Signs of Attack

The clearest trace 4HTTP2ROOT leaves is a PHP warning a non-numeric value tied to graph_view.php. the Cacti log and the web server’s PHP error log for those warnings, especially around requests to auth_profile.php and graph_realtime.php from addresses that never logged in.

The injected value also sits in the database. Any preview_graphs_per_page setting that is not a plain number is suspicious, and a query such as the one below lists them. Administrators should also review the arg1 column of the poller_item table for commands they did not configure.

On the file system, look for new PHP files or other files written by the web server or poller account. If any of these signs turn up, Previdian advises rotating the SNMP community strings and device credentials stored in Cacti, because the attacker could have read them.

What Cacti Admins Should Do Now

Turn off guest access. In Cacti, clear the guest user selection in the authentication settings and disable the guest account under Console > Configuration > Users. Then open Cacti in a private browser window without logging in and confirm that no graphs or profile pages load. Previdian calls this an interim mitigation rather than a fix, but it removes the unauthenticated entry point the chain depends on.

Keep the Cacti web interface off the public internet and reachable only from a trusted management network or VPN. Make sure the web server and the poller do not run as root, so a successful attack lands with as few rights as possible. Running SELECT cacti FROM version; against the Cacti database shows which release is installed.

Organizations that need guest dashboards should wait for an official fix before turning the feature back on, and watch Cacti’s security advisories and releases pages for a patched build.

Join the conversation. Ask questions, solutions, and help others.

Be the first to start the discussion!

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Unpatched Cacti 1.2.31 Zero-Day (4HTTP2ROOT/4HTTP2SHELL) Enables Remote Code Execution via Guest Access Researcher ek0ms savi0r disclosed an unpatched flaw in Cacti 1.2.31, a PHP-based network monitoring tool, that can be chained into remote code execution using four HTTP requests when the default-disabled guest account is enabled. The chain is a stored second-order SQL injection: guest-controlled preview_graphs_per_page input is later concatenated into a SQL LIMIT clause, and stacked statements modify poller settings to run shell commands. The researcher published a proof of concept on GitHub on 26 November 2026 (Thanksgiving Day, per BleepingComputer); Previdian tracks it as VULN-2026-0010 and confirmed the PoC in a lab. The researcher demonstrated root-level execution in a lab where Cacti ran as root, but watchTowr and others note that impact depends on the account running the web server and poller, often a low-privileged user. Articles report the flaw could expose SNMP strings and device credentials Cacti stores. No CVE, vendor patch, or CVSS score had been issued at the time of reporting, and the articles describe Cacti 1.2.31 as confirmed affected while other versions have not been ruled out. As of 27 November 2026, watchTowr reports no exploitation in the wild. Recommended mitigation is disabling the guest account and restricting the web interface to trusted networks; disabling guest access blocks the demonstrated path but does not fix the underlying SQL injection. 17 sources 69