Cacti Zero-Day Remote Code Execution: How to Mitigate It
A researcher at watchTowr published a working exploit, "4HTTP2SHELL", for an unpatched Cacti flaw that gives remote code execution when the guest account is enabled. As of 27 November 2026 there was no patch and no CVE. Disable the guest user, limit who can reach the web interface, and check your poller for commands you don't recognise.
Open Cacti’s user list today and check whether guest is enabled. That one check decides whether you are exposed to this bug.
Here is what I know and don’t. BleepingComputer’s report credits the watchTowr research for the exploit. I have not read the watchTowr write-up or tested the exploit myself. A forum article and a search summary fill some gaps, and I mark them where they matter. Cacti is free open-source software, so the cost here is your time, not UGX. Everything below can be done from a terminal, even over a weak mobile data connection.
What is the Cacti 4HTTP2SHELL zero-day?
It is a stored SQL injection. Per BleepingComputer, Cacti does not properly validate guest users’ graph display settings. Malicious SQL saved there alters the real-time poller’s configuration, and that leads to operating system commands running on the server. The exploit was previously called “4HTTP2ROOT”.
No valid login is needed, but the guest account must be enabled. The researcher claims the attack takes four requests.
The researcher tested Cacti Core 1.2.31. Nobody has said whether older versions are affected, so I would not assume older is safe.
Is there a patch for the Cacti zero-day?
Not as of 27 November 2026. BleepingComputer reported no patch, no CVE and no exploitation in the wild, and it had no statement from the Cacti maintainers. The researcher says the flaw was not reported to Cacti before the exploit went public.
I looked at the first page of Cacti’s GitHub security advisories on 28 November. Nothing matched this bug. There are eight pages and I only saw the first, so check it yourself.
Two things people get wrong. This is not the old, already-patched Cacti RCE bugs, so an earlier patch cycle does not cover you. And “update to the latest” is not a fix yet. A forum write-up calls 1.2.31 the latest stable release. I could not confirm that on Cacti’s own releases page, so look there before you trust it.
Is my Cacti server affected if it is not on the internet?
It can be. Anything that can reach the web interface can try the exploit, so the question is who can reach it, not whether it has a public IP. If your monitoring server sits on a network that ordinary users or Wi-Fi guests can route to, treat it as exposed.
I found no source on how many Ugandan ISPs, banks or universities run Cacti, so I won’t guess. If you run it, check your own server.
How do I find my Cacti version?
Look at what your install shows, usually the footer of the web interface or the console. My sources don’t give an exact menu path, so I won’t invent one.
Treat 1.2.31 as confirmed affected. For anything else, the steps below are cheap, so do them anyway.
How do I protect my Cacti server right now?
Do these in order.
- Copy your logs first. Save
cacti.log, the PHP logs and the web server logs somewhere safe before you change anything. If something already happened, you want the evidence. This advice comes from the forum write-up and I agree with it. - Disable the
guestuser. BleepingComputer lists this as the first mitigation. In Cacti, go to Utilities > User Management. The forum write-up says anonymous access needs both an enabled guest user and a guest designation in Authentication Settings, so check that no account is set as the guest user there. - Test from a logged-out browser. Open
graph_view.phpin a private window. The forum article says it should force a login. If it shows graphs, guest access is still on somewhere. - Limit who can reach the web interface. BleepingComputer says to restrict access to trusted networks. The forum write-up suggests a firewall, VPN, management VLAN or authenticating reverse proxy, especially for
auth_profile.php,graph_view.phpandgraph_realtime.php. - Watch for the fix. Follow Cacti’s GitHub releases and advisories, and update once a fix is released.
A warning on step 4. Blocking those pages can break things. If your NOC wall screens, shared dashboards or colleagues use graph_view.php, they may stop working. Try the rule on a test machine or in a quiet hour, and keep a way to undo it. Restricting by source network (your admin subnet or VPN) is safer than blocking the pages outright.
Don’t stop at step 2. One search summary says disabling guest blocks this attack path but does not fix the SQL injection itself. I could not confirm that against the primary write-up. Still, I would treat guest-off as a stopgap, not a cure, and do step 4 as well.
How do I check if someone already got in?
BleepingComputer recommends two checks. Review poller configurations for unexpected commands. Check logs for warnings about non-numeric values in graph display settings.
The forum write-up adds a few more:
- Inspect the
arg1column of thepoller_itemtable for commands you don’t recognise. - Look for unexpected child shell processes under the web server or poller.
- Search for
preview_graphs_per_pagein logs. That is the forum’s own inference, not a confirmed indicator.
I could not confirm exact log strings, so don’t rely on a log search alone. Read the poller and process checks alongside it.
What do I do if I find signs of tampering?
According to watchTowr as quoted by BleepingComputer, the attacker gets the privileges of the account running the web server and poller. That is often a low-privileged account, not root. But that account can still hold credentials for the devices Cacti monitors.
The forum write-up recommends rotating SNMP community strings, SNMPv3 passphrases, SSH keys and any device credentials reachable from the Cacti host. Keep the logs you copied in step 1.
If personal data may have been exposed, bring in your legal or compliance people early. Uganda’s Data Protection and Privacy Act 2019 has a section 23 titled “Notification of data security breaches”. Read that section for what applies to you. I have not analysed it, and this is general information, not legal advice.
Will CERT.UG or NITA-U warn about this?
I found no Uganda or Kenya advisory about this Cacti flaw as of 28 November 2026. I would not wait for one. The Cacti guest check takes a few minutes.
Quick tips
- Write down who owns the Cacti server. Old monitoring boxes often have no clear owner.
- Check guest status again after any upgrade or restore from backup. A restored config can bring old settings back.
- Put the guest check, the poller check and the credential list on one page so a colleague can run them without you.
- Keep a list of which devices use which SNMP and SSH credentials. If you ever have to rotate them, you will thank yourself.
Frequently asked questions
Does the Cacti zero-day have a CVE or patch?
Not as of 27 November 2026, according to BleepingComputer. Check Cacti's GitHub releases and advisories for updates.
Do I need a password to exploit it?
No valid credentials are needed, but the guest account must be enabled, per BleepingComputer.
Is Cacti 1.2.31 safe?
No. The researcher tested 1.2.31 and it is affected. Whether older versions are affected is unknown.
Does disabling the guest account fully fix it?
It blocks this attack path. One unverified summary says the SQL injection itself remains, so also limit network access and watch for a patch.
Will the attacker get root?
Not necessarily. They get the privileges of the account running the web server and poller, but that account may hold device credentials.