Cacti zero-day lets attackers run code with no login — disable the guest account
A zero-day in Cacti 1.2.31 lets an attacker run commands on the server with four requests and no login, when the guest account is on. Disclosed 27 November 2026, with a public exploit and no patch yet — turn guest access off now.

Affects
- Cacti
A flaw in Cacti, the open-source tool many teams use to watch over routers, switches and servers, lets a stranger run commands on the monitoring server without logging in. The attack takes four requests and a guest account left switched on — and the working exploit is already public. There is no patch yet, and no CVE number has been assigned. If your Cacti install lets guests in, switching that off is the fix for now.

What happened
On 26 November 2026, a researcher using the name ek0ms savi0r published a working exploit for Cacti Core 1.2.31, the current release, in a public code repository. The Hacker News reported it on 27 November. The exploit goes by the names 4HTTP2SHELL and 4HTTP2ROOT. It was published without first telling the Cacti project, and as of 27 November there is no fix, no assigned CVE and no newer release — version 1.2.31, released 15 June 2026, is still the latest.
The chain starts with the guest account. When it is switched on, anyone on the web can open Cacti as a guest and save display preferences. One of those preferences is a number: how many graphs to show per page in preview mode. Cacti does not check that the value really is a number, so a guest can store text in its place, including database commands. That stored value is then run as part of a database query when the graph preview page loads, and it changes a row in the table that drives the poller. The last step calls the real-time poller, which reads that row and hands it to the server as a command, with no further checks. Four requests, no login, no password, no API key.
“No login. No valid API key. No phishing. Just four HTTP requests against the default guest surface.”
The researcher lists four small failures that line up to make the attack possible: a guest can store text where a number belongs; stored values skip validation when they are reused; the database driver lets stacked statements through; and the poller runs a command taken from the database.
The researcher showed the attack reaching root on a test server. watchTowr notes that the account reached depends on how the server is set up — in many installs it would be the web server account rather than root. Either way, the attacker controls the monitoring server.
What this means for you
Only installs with the guest account switched on are exposed. That account has been off by default since Cacti 0.8.7, so many installs are safe — but any team that switched it on so colleagues could glance at graphs without logging in is exposed, and the exploit code is public, so anyone can try it.
A Cacti server is a valuable target. It usually holds login details and SNMP passphrases for the devices it watches, so an attacker who controls it can move on to routers, switches and servers across the network — and can also tamper with the monitoring itself, hiding what happens next.
There have been no reports of the flaw being used in attacks as of 27 November 2026, but a public exploit removes the wait.
What to do
- Turn off the guest account. In the Cacti console, open Configuration, then Settings, then the Authentication tab, and set Guest User to No User. Then open User Management, open the guest account, and disable it. Confirm afterwards that opening the Cacti address without logging in no longer shows any graphs.
- Keep the Cacti web interface off the open internet. Put it behind a firewall rule or a VPN so only trusted networks and administrators can reach it.
- Check the poller configuration for commands you do not recognise, and look in the application logs for warnings about non-numeric values in graph display settings — either can be a sign someone tried the attack.
- Watch for the fix and apply it as soon as it ships: check the Cacti releases page. If you find anything unexpected in step 3, treat the server as compromised: rebuild it and change the device credentials it stored.
Sources
- Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest AccessThe Hacker News
- Unpatched Cacti zero-day with public PoC gives remote code executionBleepingComputer


