An unpatched vulnerability allows commands to be executed in Cacti Core 1.2.31 when the Guest account is enabled: the published proof of concept reaches the server in four HTTP requests, without credentials. Exposure is greater if the web interface is accessible from untrusted networks; Guest access has been disabled by default since Cacti 0.8.7.
The flaw, known as 4HTTP2ROOT and 4HTTP2SHELL, exploits a graph configuration value that is not properly validated. The chain ends by altering the poller configuration in the database and causing it to process a command. Commands run with the permissions of the account running the web server and poller; not necessarily as root.
“I found a path from a fresh, unauthenticated HTTP session to command execution as the Cacti server user in four requests.”
— ek0ms savi0r, security researcher
Check whether your installation is exposed
The confirmed case is Cacti Core 1.2.31 with Guest enabled. The scope of other versions has not been established: the researcher tested that version, and BleepingComputer notes that it is unclear whether earlier versions are also vulnerable. No CVE identifier has been assigned, and no fixed version has been confirmed.
| Product | Confirmed affected version | Fixed version | Requirement |
|---|---|---|---|
| Cacti Core | 1.2.31 | Unavailable | Guest account enabled |
The Guest account allows anonymous access to certain functions. Although disabled by default, it may have been deliberately enabled to display graphs without signing in. Check its status in Cacti's user administration; do not assume the default configuration is still intact.
The consequences can extend beyond the monitoring server: Cacti may store credentials and access data for routers, switches, servers, and other devices. watchTowr warns that an attacker with command execution could use the server as an entry point into the network or modify poller data and suppress alerts.
What to do now
Disable the Guest account. In Cacti administration, remove the Guest user in the authentication settings and also disable the Guest account in
Console > Configuration > Users. Previdian recommends removing the Guest User from Authentication Settings; SockAnalyst details the pathConsole > Configuration > Settings > Authentication > Guest Userand setting it to none. The goal is to prevent an anonymous session from starting the chain.Restrict access to the web interface. Limit it to internal administration networks or to users connected through an authenticated VPN. This measure reduces who can reach Cacti while no official fix is available; it does not replace disabling Guest.
Review the poller settings. Look for unexpected commands or changes that do not match the usual configuration. The flaw can modify poller data so that the real-time process executes a stored command. If you find values you do not recognize, preserve the relevant logs and treat the incident as a possible intrusion, not merely a configuration error.
Examine Cacti logs. Look for warnings about non-numeric values in graph display settings. watchTowr notes that the chain can leave these warnings even if the request succeeds. Also review unusual changes to user and poller configuration, as well as new files created by the poller process.
Check web and process logs. If you have these logs, look for requests involving
auth_profile.php?action=update_data,graph_view.php?action=preview, andgraph_realtime.php?action=initfrom the same client in close succession. SockAnalyst describes this pattern as an investigative lead, not conclusive proof of compromise. It also recommends investigating shells or download tools launched by the web server or poller user.Reduce execution privileges. Check which account runs the web server and poller, and avoid running them as root unless necessary. watchTowr notes that the attacker's permissions depend on that account; the result is not automatically root access.
If there are signs of compromise, protect credentials. Cacti may contain credentials for network devices. If you detect suspicious changes or command execution, assess whether that data may have been exposed and rotate any potentially affected credentials, including those used to access devices.
Monitor official advisories and apply the fix. watchTowr and Previdian indicated that no fixed version had been confirmed. Keep Guest disabled and the interface restricted until Cacti releases a fix; install the fixed version when available.
Observed attempts and scope still uncertain
Information about activity differs among the organizations cited. Previdian observed 22 SQL injection attempts against its Cacti honeypots on November 27, 2026, but did not confirm remote command execution. watchTowr and BleepingComputer indicated that no exploitation in attacks had been reported. These attempts alone do not prove that a specific server was compromised.
The full set of affected versions is also unknown, and no patch has been confirmed. Until that changes, the practical check is straightforward: identify whether you have Cacti 1.2.31, verify whether Guest is active, and block anonymous access before exposing the interface again.
Mistakes to avoid
Do not wait for the patch to disable Guest. An enabled account is a requirement of the demonstrated chain, so disabling it is the recommended immediate mitigation.
Do not confuse attempts with a confirmed intrusion. Previdian recorded attempts, not successful command execution; investigate signals in your environment before concluding what happened.
Do not assume the impact is always root. The level of access depends on the account running Cacti. Even so, a process without root privileges may have access to sensitive data and connectivity to other systems.
Do not treat disabling Guest as a patch. It is a mitigation that blocks the demonstrated entry point; the underlying vulnerability will remain until an official fix is released.
Sources: The Hacker News, watchTowr, Previdian Research, BleepingComputer, SockAnalyst