Cacti Zero-Day 4HTTP2ROOT: How to Check and Protect Your Server
An unpatched Cacti zero-day lets attackers run commands on Cacti 1.2.31 servers with guest access on. Here is how to check your server and protect it now.
Image: TeQBlogs
A newly disclosed Cacti zero-day, nicknamed 4HTTP2ROOT, lets an attacker run commands on a Cacti 1.2.31 server without logging in, as long as guest access is switched on. There is no official patch or CVE yet, so the fix today is to turn off guest access, keep the Cacti web interface off the open internet and check your poller settings for commands you did not add.
The chain was published with a working proof of concept on 26 November 2026, which means the clock is already running for anyone who exposes Cacti publicly.
Quick summary
- What: an unauthenticated remote command execution chain in Cacti, the open-source network graphing and monitoring tool.
- Affected: Cacti 1.2.31 (the current release) with the guest account enabled. Other versions have not been confirmed either way.
- Status: no CVE, no vendor fix and no Cacti security advisory as of 28 November 2026.
- Exploitation: a public proof of concept exists; no attacks in the wild had been reported as of 27 November.
- Do now: disable guest access, restrict the web interface to trusted networks, review poller commands and watch the logs.
What is the Cacti zero-day 4HTTP2ROOT?

4HTTP2ROOT is a chain of weaknesses that takes an anonymous visitor from the Cacti login page to command execution on the server in four HTTP requests. It was published on GitHub by an independent researcher on 26 November 2026, and security firm watchTowr released an FAQ with detection advice the same day.
Also read: 1Password Breach: What Was Taken, What Is Safe and What to Do Now
According to watchTowr’s write-up, the attack works like this: a guest user can save a per-user graph display setting, Cacti later inserts that value into a database query without proper checks (a second-order SQL injection), the injected query changes a poller setting into a shell command, and a page the guest can reach then runs it. No password or valid account is needed, only the guest session.
| Item | Status (28 Nov 2026) |
|---|---|
| Affected version | Cacti 1.2.31 (tested); others not confirmed |
| Precondition | Guest account enabled, web interface reachable |
| Login needed | No |
| Runs as | The account running Cacti’s web server and poller |
| CVE | Not assigned |
| Vendor patch | Not yet available |
| Public exploit | Yes, proof of concept on GitHub |
| Exploited in the wild | None reported as of 27 Nov |
Why a Cacti server is a valuable target
Cacti sits in the middle of the network and talks to almost everything, which is what makes this bug worse than a typical web-app flaw. It usually stores SNMP community strings and device logins for routers, switches and servers, so code running on the Cacti host may be able to read them.
The commands run with the privileges of the account that runs Cacti, which is often a low-privileged web user. The “root” in the name only applies where Cacti itself runs as root, a setup that still turns up on older or hurried installs. Even without root, an attacker on a monitoring box can quietly change graphs, hide alerts or use the host as a jumping-off point into the rest of the network.
How to check if your Cacti server is exposed
Answer three questions: which version you run, whether guest access is on, and who can reach the web interface. If all three point the wrong way, treat the server as urgent.
- Check the version. The version number appears in the Cacti console (About page or footer). Version 1.2.31, released on 15 June 2026, is the one researchers confirmed.
- Check guest access. In a standard Cacti 1.2.x install, go to Console > Configuration > Settings > Authentication and look at the Guest User option. Anything other than “No User” means guest access is on. Also check under Console > Configuration > Users whether the guest account is enabled.
- Check who can reach it. From a network outside your office, try opening the Cacti URL. If the login page loads from the internet, the interface is exposed.
- Look for warning signs. watchTowr says warnings in the Cacti logs about a non-numeric value in a graph display setting can be traces of the attack, even when the request succeeded.
How to protect Cacti until a patch arrives

Turning off guest access blocks the published attack path, but it does not fix the underlying SQL injection, so combine it with network limits. These steps follow watchTowr’s guidance and general hardening practice.
- Disable guest access. Set Guest User to “No User” and disable the guest account. If a wall screen needs graphs without a login, give it a normal read-only account instead.
- Restrict the web interface. Allow Cacti only from your management network or VPN, using a firewall rule or web-server access list. It should never be open to the whole internet.
- Review poller settings. Check poller and data-input commands for anything you do not recognise, especially shell commands or unexpected paths.
- Run Cacti with least privilege. Make sure the web server and poller do not run as root.
- Watch for new files and processes. Unexpected files written by the poller user, or outbound connections from the Cacti host, deserve a closer look.
- Apply the official fix. Follow the Cacti GitHub security advisories and releases page, and upgrade as soon as a fixed version is published.
If you find signs of compromise, rotate the SNMP strings and device passwords stored in Cacti, not just the Cacti admin password. We followed the same playbook in our guide to the vCenter zero-day, and the logic is identical: limit exposure first, then patch.
Common mistakes to avoid
- Assuming “internal only” means safe. A Cacti server reachable from a flat office network is still exposed to any compromised laptop on it.
- Running the public exploit to “test”. Proof-of-concept code from GitHub can change server settings. Check configuration and logs instead.
- Stopping at guest access. The SQL injection remains until Cacti ships a fix, so keep the network limits in place.
- Forgetting stored credentials. If the server was exposed, the device logins inside it are the real prize.
What it means for Indian ISPs and IT teams
Cacti is a common, free choice for bandwidth and uptime graphs at Indian ISPs, hosting providers, campuses and company IT teams, so many installs here will be on the current 1.2.31 release. If a server shows signs of compromise, remember that CERT-In’s 2022 directions require cyber incidents to be reported within six hours of noticing them.
It is also another case of attackers getting working code soon after disclosure; see our coverage of the Drupal install.php flaw. Teams that lack time to track every advisory can get help with patching and monitoring from a managed cybersecurity partner.
Frequently asked questions
Is there a patch for the Cacti zero-day?
Not yet. As of 28 November 2026, Cacti had not published a fixed version or a security advisory for 4HTTP2ROOT, and the latest release on GitHub is still 1.2.31.
Does it affect Cacti without guest access?
The published attack needs the guest account, so disabling guest access blocks it. The underlying SQL injection is still present, which is why network restrictions are also recommended.
Has 4HTTP2ROOT been exploited in real attacks?
watchTowr said no exploitation in the wild had been reported as of 27 November 2026. With public exploit code available, that can change quickly.
Does the attacker get root access?
Only if Cacti runs as root. Normally commands run as the web server or poller account, which is still enough to read stored device credentials.
Bottom line
If you run Cacti 1.2.31 with guest access on and the interface reachable from outside, fix that today: disable guest access, lock the web interface to trusted networks and review poller commands. Then watch the Cacti GitHub page for an official patch and install it as soon as it lands. For more on AI-speed exploitation of fresh bugs, read how AI agents are turning patches into exploits.
Sources
- watchTowr: 4HTTP2ROOT FAQ, Cacti Zero-Day Exposure and Fix
- Cacti on GitHub: Security advisories
- Cacti on GitHub: Releases
