TL;DR
Researcher ek0ms savi0r disclosed an unpatched Cacti zero-day RCE named 4HTTP2ROOT on November 26, 2026, hitting Cacti Core 1.2.31. Full technical notes and the 4HTTP2ROOT PoC exploit are now public. They show how four guest HTTP calls yield remote code execution with no login. Therefore, admins must turn off Cacti guest access right away.
Why It Matters
Many IT teams run Cacti to track routers, switches, firewalls, and host gear across core networks. Because Cacti polls live devices, the box holds SNMP strings, SSH keys, and database logins. In the write-up, ek0ms savi0r warns, “In a lot of shops, the Cacti server is more valuable than the domain controller because it is trusted everywhere and audited by nobody.”
The release shares full bug notes, a live demo clip, and the public 4HTTP2ROOT PoC exploit on GitHub inside the 4http2shell folder. At press time, no CVE ID exists yet. Also, no vendor fix is out beyond Cacti 1.2.31, which shipped in June 2026. Likewise, security teams have not confirmed live attacks in the wild yet. Still, Cacti hosts often draw fast scans once public exploit code drops. Any open site with guest mode on faces high risk from this Cacti zero-day RCE.
How the Attack Works
The 4HTTP2ROOT chain skips memory bugs, object loaders, and brute force. Instead, it links four trust gaps on Cacti’s default guest web paths. The author sums it up: “I found a path from a fresh, unauthenticated HTTP session to command execution as the Cacti server user in four requests.”
Guest Profile Write and Second-Order SQLi
First, a guest loads the user profile page to grab a live session cookie and CSRF token. Second, the guest calls the profile update route to save raw text in a numeric setting (preview_graphs_per_page). Although Cacti writes that text with a safe query, it never checks if the input is a number.
Third, the guest opens the graph preview page with default filters. Cacti reads the stored guest setting from the database and skips request-side number checks. Next, it glues that text straight into a SQL LIMIT clause. Because the PDO driver allows stacked queries, the extra SQL updates a row in the poller table.
Realtime Poller Code Execution
Fourth, the guest hits the open realtime graph endpoint. That call starts Cacti’s realtime poller, which reads the edited poller row and sends its value straight to popen() with no allowlist. As ek0ms savi0r notes, “The database row the guest can write is the row the poller executes.”
In the lab demo clip against Cacti 1.2.31, the chain drops into a live root shell because the test web tier ran as root. On normal Linux hosts, commands run as the web user, like www-data or apache. Even then, a foe can steal network keys and pivot across core links. Worse yet, the web hits look like normal guest traffic and leave only a small PHP warning in logs.
Affected Versions
- Cacti Core: Version 1.2.31 (current latest build) with guest access turned on.
- Older Builds: Prior 1.2.x builds sharing the same profile and realtime poller code are also likely at risk.
- CVE Status: No CVE ID has been assigned yet.
Patch and Mitigation Steps
Since no vendor fix exists yet for this Cacti zero-day RCE, teams must apply workarounds now. First, turn off the Cacti guest account in system settings so guests cannot open sessions or save profile fields. Second, lock the Cacti web portal behind a VPN or trusted admin VLAN with firewall rules.
In addition, check your settings_user and poller_item tables for odd strings or edited commands. Also, make sure your web server and poller never run as root. Finally, watch PHP logs for non-numeric value warnings on graph_view.php, and track Cacti’s GitHub page for a 1.2.32 patch.
Support Our Threat Intelligence
Find our vulnerability reports and weekly recaps helpful? Support our work today and unlock a 100% ad-free reading experience!