Threat Intelligence

Unpatched Cacti Flaw Lets Attackers Run Commands on Monitoring Servers via the Guest Account

The Hacker News · 27 Nov 2026
Key Takeaway If you run Cacti, disable the guest account and limit who can reach its web interface today, because no patch is available yet.

Details have emerged of a zero-day vulnerability in Cacti, an open-source network monitoring tool, that could let an attacker run commands on the server. The proof-of-concept exploit has no CVE identifier yet and is tracked as 4HTTP2SHELL and 4HTTP2ROOT. It affects Cacti Core 1.2.31, the latest version, on an isolated host where the guest account is enabled.

The researcher behind it, who uses the alias "ek0ms savi0r", says a fresh, unauthenticated session can reach command execution as the Cacti server user in four HTTP requests. There is no login, no valid API key and no phishing involved, only the default guest surface.

The attack works in stages. Cacti does not check that the "preview_graphs_per_page" setting is actually a number, so a guest can save SQL text into it. When the graph preview page loads with default filters, that text runs as a database query, which is a second-order SQL injection. The demonstrated query changes a record in Cacti's poller table. Finally, the realtime poller endpoint reads the altered row and passes it to PHP's popen() function without any allowlist or sanitisation checks.

The impact reaches beyond one server. An attacker could compromise the Cacti host, use it as a pivot into the wider network, expose sensitive data, or suppress alerts by modifying the poller table. watchTowr noted that Cacti often stores credentials and connection details for routers, switches, servers and other devices, so a foothold here can reach far beyond the monitoring server. No fix exists yet. Users are advised to disable the guest account, restrict access to the web interface, and review poller configuration entries for unexpected command values.

Why it matters

Monitoring servers are trusted, well-connected systems that hold credentials for many devices, so an unauthenticated flaw here turns a low-profile tool into a launchpad for the whole network. The assumption that a guest account is harmless read-only access is broken, since it alone can lead to code execution. Because the poller table can also be altered to suppress alerts, defenders may lose visibility at the moment they need it most.

What to do

  • Disable the guest account on any Cacti 1.2.31 instance.
  • Restrict access to the Cacti web interface to trusted networks or users only.
  • Review poller configuration entries for unexpected command values.
  • Apply the fix as soon as one is released.
Cacti zero-day remote code execution SQL injection network monitoring

Summarised by CISO AI from The Hacker News, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.