News Security news
Cacti 1.2.31 zero-day 4HTTP2SHELL turns guest access into command execution, no patch yet
On 26 November 2026 a researcher going by ek0ms savi0r published a write-up and working proof of concept for a chain of bugs in the Cacti network monitoring tool. On an install with the guest account enabled, four unauthenticated HTTP requests are enough to run commands on the server, according to the researcher. The current release, 1.2.31, is affected, and the Cacti project has not yet issued a fix or a CVE. Here is who is exposed and what to do now.
Key points
- On 26 Nov 2026 researcher ek0ms savi0r published 4HTTP2SHELL (also called 4HTTP2ROOT), a chain that goes from an unauthenticated guest session to command execution as the web server user. It was tested on Cacti Core 1.2.31 in an isolated lab.
- Precondition: the guest account is enabled. The guest can change its own settings, and one numeric setting is not validated; the value later lands in an SQL query and from there in a command run by the poller.
- There is no fix and no CVE yet. As of 27 Nov watchTowr knows of no exploitation, and the bug is not in the CISA KEV catalogue.
- Now: disable the guest account, restrict access to the interface, review poller settings and PHP warnings about non-numeric values.
What happened
Cacti is an open-source network monitoring and graphing tool (built on RRDtool) found in many corporate networks and at internet service providers. On 26 November 2026 a researcher using the handle ek0ms savi0r published a bug chain named 4HTTP2SHELL that takes an anonymous visitor to command execution on Cacti Core 1.2.31. Security firm watchTowr released an analysis the same day. The Cacti project has not yet published an advisory, a fix or a CVE.
How the attack works
We describe only the principle, as far as it helps with hunting and defence:
The files involved are auth_profile.php (the preview_graphs_per_page setting is not validated as a number), graph_view.php (second-order SQL injection) and graph_realtime.php (execution of the poller command). Commands run with the web server's privileges, typically www-data or apache.
How to spot a compromise
- PHP warnings about a non-numeric value in a graph display setting, which the researcher says is often the only visible trace;
- guest-session requests to
auth_profile.php,graph_view.phpandgraph_realtime.phpin quick succession; - unexpected commands in the poller settings and the
poller_itemtable; - the web server spawning a shell, or new files in web directories.
What to do
- Disable the guest account (Console → Configuration → Settings → Authentication, Guest User) and make sure the guest user is disabled.
- Restrict access to the interface to a management network or VPN. Cacti does not belong on the internet.
- Review poller settings and user setting values for anything non-numeric.
- Watch the Cacti advisories and deploy the fix as soon as it ships.
Pull suspicious IP addresses out of your web server logs quickly with the IOC extractor. We will update this story when Cacti releases a fix or exploitation is reported.
FAQ
I run Cacti but don't use the guest account. Am I safe?
Both the researcher and watchTowr describe an enabled guest account as a precondition. Check it under Console → Configuration → Settings → Authentication (the Guest User setting) and in the user list. Even so, the interface should not be on the internet: Cacti has had several other critical pre-auth bugs in 2026.
Which versions are vulnerable?
Only 1.2.31, the version the researcher tested, is confirmed. Nobody has yet confirmed or ruled out older releases, so assume they are affected too.
Why isn't this marked 'Reported'?
We are working directly from the write-up of the researcher who found the bug and from watchTowr's analysis. The Cacti project has not commented yet; we will add its advisory or fix as soon as it appears.
Sources
Spotted a mistake? Let us know and we will correct it openly.