Cacti is an open-source network monitoring and graphing tool. Its newest release now has a zero-day. On 27 November 2026, The Hacker News reported a flaw in Cacti Core 1.2.31, the latest version. Anyone who can use the application's guest account can run commands on the server with it. The proof-of-concept exploit is tracked as 4HTTP2SHELL and 4HTTP2ROOT, and the researcher behind it, who goes by "ek0ms savi0r", says the attack needs only four HTTP requests.

The bug has no CVE number yet and no patch exists. The report says a proof-of-concept exploit has been released. We are not linking to it.

There is one big limit. The attack only works if the Cacti guest account is turned on. Guest access has been off by default since version 0.8.7, so many installations are not exposed. Some admins do enable it, for example to let people view graphs without logging in. On those servers, the guest session is all an attacker needs.

How the chain works, in plain English

The Hacker News describes three steps. Each one looks minor on its own.

Step one: a setting that isn't checked. Cacti lets users, guests included, set display preferences. One of them is preview_graphs_per_page, which controls how many graphs show on a page in Preview Mode. It should be a number. According to the report, Cacti accepts a non-numeric value from the guest session and stores it anyway.

Step two: a second-order SQL injection. SQL injection means getting attacker-written text treated as part of a database query instead of as data. "Second-order" means the bad input doesn't fire when it is saved. It fires later, when another part of the application reads the stored value and uses it in a query. Second-order bugs are easy to miss in testing because the request that plants the payload looks harmless and the damage happens somewhere else. Here, the report says loading the graph preview page with default filters runs the stored value as SQL. The researcher demonstrated an UPDATE statement that modifies a record in Cacti's poller table.

Step three: from a database row to a shell. The poller is the part of Cacti that collects data from monitored devices. According to the report, the realtime poller endpoint, called from the same guest session, reads the modified poller-table row and passes it to PHP's popen(), a function that starts an operating-system process, with no allowlist or sanitization checks. If an attacker controls that row, they control what the server runs. The commands run as the Cacti server user.

That makes this a privilege jump. An account meant for viewing graphs ends up writing database records that the server treats as commands. The researcher lists four failures that make it possible, including that the guest can write a numeric setting as an arbitrary string and that the poller executes a command stored in the database.

Why a monitoring box is a bigger prize than it looks

Running code on a graphing server could sound like a small problem. It usually isn't. In an advisory quoted by The Hacker News, watchTowr said that because Cacti often stores credentials and connection details for routers, switches, servers and other devices across a network, an attacker with this level of command execution can gain a foothold reaching far beyond the monitoring server itself. The report adds that successful exploitation could expose sensitive data or let an attacker suppress alerts by modifying the poller table.

Defenders should therefore treat a compromised Cacti server as a possible pivot point into the rest of the network, not as a single breached web app.

Wasn't a Cacti guest bug just fixed?

Yes, a related one, and that's why this disclosure stands out. In June 2026, the National Vulnerability Database published CVE-2026-39893. It was a SQL injection in Cacti 1.2.30 and earlier: the rfilter request variable was concatenated into an RLIKE database clause without sanitization. NVD notes that the endpoint does not require authentication, because graph viewing supports guest access through the configured guest user, so the flaw was reachable before login on installs with guest viewing enabled. It was rated CVSS 3.1 9.8 (Critical), with GitHub's advisories listed as the secondary source.

That bug was fixed in 1.2.31. The new flaw is a different bug, and it is in 1.2.31 itself. Admins who upgraded to close CVE-2026-39893 did the right thing. They are still exposed to 4HTTP2SHELL if guest access is on.

Two serious guest-reachable injection bugs in one year may point to code behind Cacti's guest role that deserves more scrutiny, though that is our reading, not a claim from the sources. Until the picture is clearer, the guest account is best treated as a risk in its own right, not a convenience setting.

Is there a patched version?

No. Cacti's own release page lists v1.2.31, published 15 June 2026, as the latest release. As of 29 November 2026, we found nothing newer. The two releases before it were 1.2.30 (March 2025) and 1.2.29 (February 2025). Gaps between releases have been long in the past, so admins should not assume a fix will land quickly. They should mitigate now.

What It Means for Defenders

Who is affected: Organizations running Cacti Core 1.2.31 with the guest account enabled. Older builds have their own problems, including CVE-2026-39893, so staying on an earlier version is not a safe option either. If guest access has never been turned on (it has been off by default since 0.8.7), this specific chain does not reach you. Confirm that in the settings rather than assuming it.

What to do now: The Hacker News advises the first three steps below. The extra detail on each is our guidance.

  • Disable the guest account. This is the main mitigation and the one that breaks the chain. Check Cacti's authentication settings to see whether a guest user is configured. If a wall display or viewer group depends on it, give them named, low-privilege accounts instead.
  • Restrict access to the web interface. Cacti's UI should not be reachable from the internet, and ideally only from a management VLAN or VPN. Firewall rules or a reverse proxy with its own authentication add a layer that doesn't depend on Cacti's code being correct.
  • Review poller configuration entries. The attack works by changing poller-table data, so look over your poller items and data input methods for entries you didn't create or that have changed unexpectedly, especially unexpected command values. Anything unfamiliar is a reason to investigate.
  • Apply a fix as soon as one is available. Watch Cacti's GitHub releases page.

If guest access was enabled and the UI was reachable: A proof of concept has been released, so assume someone may have tried it. Reasonable next steps, following from the credential exposure watchTowr describes:

  • Look for unexpected processes, outbound connections or new files owned by the Cacti service account on the server.
  • Rotate the credentials Cacti stores for monitored devices, such as SNMP community strings and device logins. If the server was compromised, treat them as exposed.
  • Check the network devices Cacti polls for configuration changes or logins you can't explain.
  • Check Cacti's own user list for accounts you didn't create.

Stay on 1.2.31, not earlier. Version 1.2.31 is the release that fixes CVE-2026-39893, and it is the newest. Move to a newer release once one ships with a fix for this flaw.

For CMMC and federal contractor shops: If Cacti sits inside your CUI boundary or monitors in-scope network gear, consider recording the mitigation in your POA&M until a vendor patch is available. That includes disabling guest access and restricting interface access, plus the date you checked. An unpatched vulnerability with a documented compensating control is generally easier to defend in an assessment than one nobody noticed.

The takeaway is simple. Viewing a graph should never lead to running code on the server. Until Cacti ships a fix, the most direct defense is to make sure no one can log in as a guest.

Sources