Cacti 1.2.31 Zero-Day Turns Guest Access Into Remote Code Execution: Disable the Guest Account Now
A newly disclosed exploit chain in Cacti Core 1.2.31 lets an unauthenticated visitor run commands on the Cacti server with four ordinary HTTP requests. The only precondition is that Cacti's guest account is enabled and reachable. There is no CVE, no tagged vendor release, and a public write-up is already out. If you run Cacti to graph your switches, firewalls, and servers, the fix you can apply today is a configuration change rather than an upgrade, and it takes a few minutes.
Security researcher ek0ms savi0r published the chain on GitHub on November 26, 2026, according to a watchTowr FAQ. watchTowr calls it 4HTTP2ROOT, and The Hacker News reports it under the name 4HTTP2SHELL. Same bug, two names.
At a glance
Affected: Cacti Core 1.2.31 (the only version confirmed vulnerable; the full range has not been established). Exploitable only when the guest account is enabled.
Status as of November 28, 2026: No CVE, no tagged 1.2.32 release, no Cacti security advisory, not in CISA KEV. Exploit details are public, and one honeypot operator has logged probing. A hardening pull request was merged into the 1.2.x branch on November 28, but it is not an installable release.
What to do, in order:
- Disable the guest account and confirm anonymous access is gone.
- Restrict the Cacti web interface to trusted internal networks.
- Review poller configuration entries for unexpected command values.
- Watch Cacti logs for non-numeric value warnings in display settings.
- Apply the vendor fix as soon as a release ships.
What happened
The researcher tested the chain against Cacti Core 1.2.31, per watchTowr. Version 1.2.31 was released June 15, 2026, and it is still the latest release on the Cacti GitHub releases page. watchTowr lists the fixed version as "Not yet available" and the vendor patch as pending. Cyber Kendra reports that as of November 28 the project had published no security advisory, patched release, or public statement on the issue.
Cacti's own release notes ask researchers for private, responsible disclosure. This chain went public with no fix available, and none of the sources we reviewed say whether the maintainers were told in advance. That matters for how long you should expect to be running on mitigations alone.
There is now movement in the source tree. Cacti pull request #9014, titled "fix(security): [1.2.x] harden user settings validation, Guest writes, and realtime graph access," was merged into the 1.2.x branch on November 28, 2026. Its changes include rejecting guest account changes on auth_profile.php with an HTTP 403, validating preview_graphs_per_page before it reaches the SQL LIMIT clause in graph_view.php, enforcing a graph access check in graph_realtime.php before the command runs, and escaping the hash argument. Those changes line up with the steps in the published chain. The pull request page does not mention the researcher, a CVE, or 4HTTP2ROOT, so that connection is our reading of the code, not something the project has stated. More importantly, a merge into a branch is not a tagged release. Unless you build from the 1.2.x source, you cannot install it, and the mitigations below remain what protects you.
| Affected version | Cacti Core 1.2.31 confirmed; older 1.2.x untested |
| Tagged fixed release | Not yet available |
| Branch fix | PR #9014 merged into 1.2.x on November 28 |
| CVE | Not assigned |
| Exploitation in the wild | None reported to watchTowr as of November 27; honeypot probing observed |
| CISA KEV | Not listed |
| Precondition | Guest account enabled |
How four requests become a shell
The chain is a good example of several small trust failures lining up. Based on The Hacker News summary of the write-up, it works like this:
- From a fresh guest session, the attacker saves a non-numeric value into the
preview_graphs_per_pagedisplay setting throughauth_profile.php?action=update_data. That setting is supposed to be a number. - When
graph_view.phploads with its default filters, the stored value lands in a SQLLIMITclause. This is a second-order SQL injection: the malicious input is stored first and triggered later. - Because the database driver accepts stacked statements, the injected SQL runs an
UPDATEagainst a record in Cacti's poller table. - A request to
graph_realtime.phpthen hands the modified row to PHP'spopen(), which runs it as a command with no allowlist and no sanitization.
The researcher identifies four separate failures: the guest can write a numeric setting as an arbitrary string, the stored default bypasses request validation, the PHP PDO driver accepts stacked statements through the LIMIT clause, and the poller executes a command string pulled from the database (The Hacker News). Fixing any one of them would likely break this particular chain.
It is also not the first time these files have needed work. The 1.2.31 release notes list several fixed CVEs in graph_view.php and auth_profile.php, including pre-authentication SQL injections tracked as CVE-2026-39893 and CVE-2026-39955 and a reflected XSS tracked as CVE-2026-39900. None of those entries describes the preview_graphs_per_page issue. If you upgraded to 1.2.31 to close those holes, you did the right thing; this is a different bug in the same neighborhood.
Scope: who is actually exposed
Two conditions have to be true. You are running 1.2.31, and the guest account is enabled and reachable by the attacker. Reporting from Cyber Kendra adds that the attack also needs a valid graph ID and poller item on the target, which a working Cacti install will have.
On the first point, only 1.2.31 is confirmed affected, and the full range is not established. A third-party public exploit repository targets "Cacti 1.x" without limiting itself to 1.2.31, so do not assume an older version is safe. If anything, an older install is missing the fixes listed above.
On the second point, the guest account has been disabled by default since Cacti 0.8.7, according to The Hacker News. So a stock install is not exposed. The problem is that guest access is exactly the kind of setting that gets turned on years ago so the help desk or a department manager can glance at bandwidth graphs without a login, and then nobody remembers it is on.
The name 4HTTP2ROOT is a bit misleading. Commands run as whatever account runs the Cacti web server and poller process, which is often a low-privileged web user rather than root (watchTowr). Root is the outcome only where the server has been set up poorly. That said, a low-privileged web user on a Cacti box can still read what Cacti can read, and that is the real problem.
Why this matters on a health care network
Cacti is free, open source, and runs on modest hardware, which in our experience is why it turns up in smaller hospitals, clinics, and MSP-managed environments where a commercial monitoring suite is not in the budget. To do its job, it holds SNMP community strings and device logins for the infrastructure it watches. watchTowr describes Cacti as a "central point of trust" inside many networks (watchTowr).
Think about a 25-bed Critical Access Hospital where one or two IT staff run a Cacti VM graphing the core switch, the firewall, the wireless controller, and a handful of servers. If that VM is compromised, the attacker has a list of every important device on the network plus the credentials to talk to many of them. The Hacker News also notes that an attacker could modify the poller table to suppress alerts, which means the tool you rely on to notice something is wrong could be the thing keeping quiet about it.
The good news is that the precondition is entirely under your control. You do not need to wait for anyone to act on this.
What to do now
1. Disable the guest account
watchTowr's guidance is to disable the guest account within Cacti's user administration settings. Cyber Kendra describes the path as clearing the guest user selection in the authentication settings and disabling the guest account under Console > Configuration > Users. Then verify it: open a private browser window, browse to your Cacti URL, and confirm you land on a login page rather than on graphs. If you have more than one Cacti instance (a lab box, an old server someone forgot to decommission, a second site), check every one. This single step removes the precondition for the published chain.
2. Restrict who can reach the web interface
Cacti's web interface should be reachable only from trusted internal networks (watchTowr). In practice, that means a firewall rule or ACL that allows the IT management subnet or VPN pool and denies everything else, including the general staff VLAN and guest Wi-Fi. If your network is still flat, a host firewall on the Cacti server that allows only IT workstations is a reasonable first step toward a proper management segment. Cacti should not be published to the internet.
3. Review poller entries for tampering
Because the chain works by rewriting a poller table record, look over your poller configuration entries for command values you do not recognize (watchTowr). Cyber Kendra points specifically to the arg1 column of the poller_item table, which is what the attacker rewrites and what graph_realtime.php passes to popen(), and suggests checking settings_user for preview_graphs_per_page values that are not numeric. watchTowr also lists new files created by the poller process as a sign of compromise. If guest access was enabled and the interface was broadly reachable, treat this review as part of a possible incident, not just housekeeping.
4. Check the logs
watchTowr recommends watching Cacti logs for warnings about non-numeric values in display settings. Note that a warning does not mean the attempt failed; the request still succeeds despite it. A warning tied to preview_graphs_per_page is a reason to look harder at that server.
5. Patch when the fix ships, and check PHP first
Watch the Cacti releases page for 1.2.32 or a security advisory. One planning note: 1.2.31 raised the minimum supported PHP version to 8.1, so if you are still on an older release, confirm your PHP version before the fix arrives so you are not stuck troubleshooting dependencies when you should be patching. For how this fits into your broader obligations, see our guide on HIPAA software patching requirements.
6. Rotate credentials if you suspect exposure
If guest access was on and you cannot rule out that someone used it, assume the SNMP communities and device logins stored in Cacti are known to someone else. Previdian, a security firm whose honeypots recorded probing, likewise advises rotating SNMP community strings and device credentials if signs of compromise turn up (via Cyber Kendra). Change them on the devices and update Cacti afterward. If an instance cannot be hardened quickly, isolate it or take it offline until it can. The same thinking applies to any system you cannot fix right away; our coverage of interim controls for out-of-support SonicWall firewalls walks through a similar approach.
The compliance angle
Cacti usually does not store electronic protected health information itself, but it holds the keys to infrastructure that carries it. The HIPAA Security Rule's technical safeguards at 45 CFR 164.312 include the access control standard in 164.312(a)(1), which calls for technical policies and procedures that allow access to systems maintaining ePHI only to persons or software programs that have been granted access rights; the audit controls standard in 164.312(b), which calls for mechanisms that record and examine activity in information systems that contain or use ePHI; and the integrity standard in 164.312(c)(1), which calls for policies and procedures to protect ePHI from improper alteration or destruction. An unauthenticated path to the credentials for your core network gear is hard to square with any of those. Document the change you make, the date you made it, and what you found during the poller and log review.
What to watch next
Four things: a CVE assignment, a tagged 1.2.32 release or Cacti security advisory, confirmation from the project that the merged hardening in #9014 closes this chain, and any change in exploitation status. As of November 27, 2026, watchTowr reported no exploitation to it and no public attribution. Cyber Kendra reports that Previdian's honeypots logged 22 time-based SQL injection attempts from a single IP on November 27, none of which led to confirmed command execution. A second, independent exploit also appeared on November 27 and ran commands as the web user. The issue is not in CISA's Known Exploited Vulnerabilities catalog. With the details public and the bar this low, that could change quickly. Turn off guest access today and you can watch the rest unfold without much worry.
This article is for informational purposes only and does not constitute legal or compliance advice. Covered entities and business associates should consult qualified legal counsel or compliance professionals before making decisions pertaining to HIPAA or IT infrastructure.
Sources
- watchTowr, "4HTTP2ROOT Cacti Zero-Day FAQ": https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
- The Hacker News, "Unpatched Cacti Zero-Day Enables RCE": https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html
- Cyber Kendra, Cacti 4HTTP2ROOT zero-day coverage: https://www.cyberkendra.com/2026/11/cacti-4http2root-zero-day-rce.html
- Cacti, GitHub latest release: https://github.com/Cacti/cacti/releases/latest
- Cacti, GitHub releases (1.2.31 release notes): https://github.com/Cacti/cacti/releases
- Cacti pull request #9014: https://github.com/Cacti/cacti/pull/9014
- Electronic Code of Federal Regulations, 45 CFR Part 164: https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-164