Cacti 1.2.31 zero-day: 4HTTP2ROOT guest RCE exploit is public, no patch yet
A public exploit gives unauthenticated remote code execution on Cacti 1.2.31 when the guest account is on. No CVE or fix exists; here is how to check and what to switch off.
· 6 min read
Written by AI from the sources linked below. How we use AI
On this page
A security researcher who goes by ek0ms savi0r (Church of Malware) published, on 26 November 2026, a working exploit for an unpatched flaw in Cacti 1.2.31, the open-source network monitoring tool. The chain, nicknamed 4HTTP2ROOT or 4HTTP2SHELL, gives an unauthenticated visitor command execution on the Cacti server in four web requests. It only works when Cacti's guest account is enabled, and no CVE number or vendor fix exists yet. If you run Cacti, the quickest protection is to switch the guest account off and keep the web interface off the open internet.
Key points
- The flaw affects Cacti 1.2.31, the latest release (shipped in June 2026, according to Daily CyberSecurity), and the exploit needs the guest user enabled.
- A public proof of concept and write-up appeared on 26 November 2026; the public reproduction repository states that no CVE has been assigned and that Cacti has not released 1.2.32.
- The chain uses four HTTP requests: a guest session, a stored SQL payload, a stacked SQL query that edits a poller row, and the real-time poller running that row with
popen(). - The reproduction runs commands as the web server user (for example
www-data); "root" in the nickname applies only where the web tier itself runs as root. - As of 27 November, the sources we read report no attacks in the wild.
What to do
- Who is affected: Cacti 1.2.31 with the guest account enabled. Earlier 1.2.x builds share the same code and are likely affected too, but that is not verified.
- Fix: none yet. Watch Cacti's GitHub releases for a 1.2.32 or a security advisory.
- Workaround 1: in Cacti go to Configuration, Settings, Authentication and set Guest User to "No User" (the reproduction's control run shows this makes the chain fail at its first step).
- Workaround 2: put the Cacti web interface behind a VPN or an admin-only network segment.
- Check your server: look in the
settings_userandpoller_itemtables for odd values (a non-numericpreview_graphs_per_page, or an unexpectedarg1command), and in PHP logs for non-numeric value warnings aroundgraph_view.php. Make sure the web server and poller do not run as root. - Is the guest account on? The write-up says it is not enabled by default in recent versions, so many installs are not exposed, but it is a common setting for wall-display dashboards.
What happened
The researcher released notes, a demo and a proof of concept for what they call a zero-day in Cacti 1.2.31. According to the reproduction repository that mirrors it, the author's claim is that a fresh, unauthenticated HTTP session can reach command execution as the Cacti server user in four requests. BleepingComputer, which was the first outlet that appeared in our lead list, reported it on 27 November as an unpatched zero-day with a public proof of concept. A security blog summary of The Hacker News coverage uses the headline "Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access". We could not open the BleepingComputer page from our environment (it blocks automated readers), so the technical details below come from the reproduction repository and from Daily CyberSecurity, which quotes the original write-up.
One identifier needs care. A mirror site lists the Cacti proof of concept under CVE-2026-132165. That identifier belongs to the Drupal installer flaw we covered earlier (see our Drupal article), and the repository itself says no CVE exists for Cacti. Treat any "Cacti CVE-2026-132165" label as a mistake until the project or a CVE authority says otherwise.
Background
Cacti is a long-running open-source tool that graphs data about routers, switches, firewalls and servers, usually by polling them over SNMP and other protocols. Because it polls live devices, a Cacti server typically stores SNMP community strings, SSH keys and database logins, and it is trusted by the devices it monitors. The researcher puts it in a short sentence quoted by Daily CyberSecurity: in many shops, they say, the Cacti server is more valuable than the domain controller because it is trusted everywhere and audited by nobody. That is the author's opinion, but it explains why attackers like monitoring servers.
Cacti has had serious remote code execution bugs before, and the project has a history of fixing them in point releases, so the absence of a patch here is the news rather than the class of bug.
How it works
The reproduction repository describes four trust gaps that combine. In order:
- Guest session. An anonymous visitor loads the profile page (
auth_profile.php) with the guest account enabled and receives a live session cookie and a CSRF token. - Unchecked "numeric" setting. The guest saves text in the
preview_graphs_per_pagesetting. Cacti stores it safely using a prepared statement but never checks that it is a number. - Second-order SQL injection. When the guest opens the graph preview page with
clear=1, Cacti falls back to the stored setting as the default value. The integer filter is applied only to request parameters, not to that default, so the stored text is pasted into a SQLLIMITclause. Because the database driver allows stacked statements (MySQL and MariaDB PDO does by default, per the repository), an extraUPDATE poller_item SET arg1=...runs. - Poller executes the row. The guest calls the real-time graph endpoint (
graph_realtime.php). That starts the poller, which reads the editedpoller_item.arg1and passes it topopen()without an allowlist.
In the repository's test, the command wrote the output of id into a file under the cache directory, and a plain HTTP request read it back, showing uid=33(www-data). The author's own demo, per Daily CyberSecurity, ran as root only because the lab's web tier ran as root. The repository's maintainer is explicit that going from the web user to root would need another vulnerability.
Other details from the repository: the test needed at least one graph with local_graph_id=1, and real-time graphing enabled (the default). The requests look like ordinary guest traffic, and the only trace the repository mentions is a PHP warning in the logs.
What it means
For administrators: this is the kind of flaw scanners find quickly once code is public. Anyone with guest access enabled on an internet-reachable Cacti should act today, not wait for a patch. The server holds credentials for the network it watches, so the damage from one compromise can spread to routers and switches.
For the Cacti project: the bug is a pattern worth fixing in more than one place. A value saved safely but used unsafely later (second-order injection) means a one-line fix at the LIMIT clause may not be enough, and a fix for the missing type check on settings and for popen() use may be needed as well. That is our reading of the mechanism, not a statement from the project.
For everyone else: the lesson is old and still current: monitoring systems deserve the same exposure rules as identity systems. They should sit on a management network, not on the public internet.
What we don't know yet
- Whether Cacti's maintainers have acknowledged the report, and when a 1.2.32 or a patch is expected. We could not read the project's GitHub pages from our environment.
- Whether older 1.2.x versions are affected. The sources say "likely", and the reproduction only verified 1.2.31.
- Whether anyone is exploiting it. The sources we read report no confirmed attacks as of 27 November, but public exploit code often draws scanning quickly.
- Whether a CVE will be assigned, and its severity score.
- Whether the guest account is enabled in many real installs. The sources say it is not on by default.
What to watch next
Check Cacti's GitHub releases and security advisories for 1.2.32 and a CVE. When it arrives, update and turn guest access back on only if you need it. Until then, the settings change above costs nothing. We will add a dated update to this article if the project responds.
Sources
- BleepingComputer: Unpatched Cacti zero-day with public PoC gives remote code execution (page not readable from our environment; details taken from its search summary)
- Daily CyberSecurity: Cacti Unauthenticated RCE Zero-Day (4HTTP2ROOT): PoC Published
- Proof-of-concept repository (README, mirrored on Sploitus)
- NetmanageIT: summary of The Hacker News coverage
- Cacti project on GitHub
Written by
The official account of the people who run audiotale.net: announcements, conversation starters and the newsroom's drafts. Posts written with AI say so. Every other account here is a real person.
Read next
Java4Shell CVE-2026-114938: OpenJDK Base64 RCE on AVX-512 CPUs, what to patch
A heap overflow in HotSpot's AVX-512 Base64 decoder affects OpenJDK 17.0.6 and later on x86-64; here is who is exposed, how to check and the flag that turns off the bad code.
audiotale.net team8 min read
ForgeRock connected-car flaws: researchers unlock cars via identity-platform bugs, no CVE
Two 7 November write-ups show chains from firewall bypass to account takeover and remote unlock on unnamed automakers' ForgeRock logins.
audiotale.net team6 min read
PHP to patch two critical remote code execution flaws, CVE-2026-109618 and CVE-2026-109619, at 14:00 UTC today as details leak
The PHP security team rates both bugs CVSS 9.2 and warns it may release early; security firms report early attacks and urge admins to prepare now.
audiotale.net team7 min read