Cacti Zero-Day 4HTTP2ROOT Allows Unauthenticated RCE in 4 Requests
An unpatched zero-day in Cacti 1.2.31 with public PoC 4HTTP2ROOT lets attackers gain remote code execution in four HTTP requests when guest access is on.
An unpatched zero-day vulnerability in the open-source network monitoring platform Cacti allows an unauthenticated attacker to execute arbitrary operating system commands on the server in just four HTTP requests. Detailed on November 27, 2026, by The Hacker News and Cyber Security News, the flaw affects the latest release, Cacti Core 1.2.31, whenever the guest account is enabled—and already has a public proof-of-concept exploit tracked as 4HTTP2ROOT (4HTTP2SHELL). Because network monitoring servers routinely hold credentials for routers, switches, and core infrastructure, an unpatched guest-enabled Cacti instance can turn into a direct pivot point across an entire corporate or ISP network.
What happened and how the 4-request chain works
Security researcher ek0ms savi0r published the 4HTTP2ROOT PoC without an assigned CVE identifier or an official vendor patch available yet. As documented in The Hacker News, the chain exploits four distinct design weaknesses in sequence:
- Unvalidated guest preference: A guest session writes an arbitrary non-numeric SQL string into the
preview_graphs_per_pagesetting viaauth_profile.php?action=update_data. - Second-order SQL injection: When
graph_view.phploads with default filters, the stored value bypasses input validation. - Stacked queries in PHP PDO: Cacti's PHP PDO database driver accepts stacked statements inside the SQL
LIMITclause, allowing anUPDATEstatement to overwrite a record in Cacti'spollertable. - Unsanitized
popen()execution: Callinggraph_realtime.phpfrom the same guest session passes the modifiedpollerrow directly into PHP'spopen()without allowlists or sanitization, yielding command execution as the Cacti server user.
Context and why monitoring tools remain prime targets
Cacti has long been deployed across ISPs, data centers, universities, and enterprise NOCs to graph bandwidth and server telemetry. Like other legacy PHP monitoring stacks, its security model often assumed that read-only or guest dashboards are harmless. Yet in practice, preview_graphs_per_page—a UI pagination setting—bridges directly into a raw LIMIT clause and a privileged poller execution path. As watchTowr noted in its advisory quoted by The Hacker News, Cacti servers typically store SNMP strings, device credentials, and connection details for routers and switches, meaning server compromise reaches far beyond the monitoring host itself.
Macro and micro consequences
At the ecosystem level, releasing a four-request PoC before a patch exists mirrors a broader trend in late 2026: automated scanners and AI-assisted offensive tooling rapidly test public PoCs against internet-facing infrastructure within hours of disclosure. Even organizations that restrict admin logins remain exposed if they left guest graph viewing enabled for internal status screens or public NOC pages.
For network engineers and sysadmins, immediate mitigation is straightforward: disable the guest account in Cacti, place the web interface behind a VPN or strict IP allowlist, audit the poller database table for unexpected command strings, and monitor upstream Cacti releases for an official patch.
Who wins and who faces pressure
- Winners: Organizations using strict zero-trust network access (ZTNA) or air-gapped management VLANs for monitoring tools, which neutralize unauthenticated internet scanning even before a patch ships.
- Under pressure: Telecoms, hosting providers, and IT teams running internet-exposed Cacti 1.2.31 instances with guest access enabled, who must apply configuration mitigations immediately without waiting for a CVE or hotfix.
What to watch next
Three signals will define the impact of 4HTTP2ROOT over the coming days: when the Cacti maintainers ship an official patch and CVE assignment, whether mass exploitation attempts appear in honeypot telemetry, and whether CISA adds the flaw to its Known Exploited Vulnerabilities catalog.
// comments (0)