JupiteX Get the app
Science & Technology27 Nov 2026 · about 6 min

Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access

The brief

Cacti is an open-source network monitoring tool. Network monitoring tools help operators observe connected devices and review information about their status or performance. Cacti displays graphs, and its poller gathers data. This matters because monitoring systems can contain details about many devices across a network. The reported flaw turns a guest-facing feature into a route toward the server itself. A guest can store non-numeric text in a setting meant to control how many graphs appear per page. When the preview page uses default filters, that text can trigger SQL injection. Later, the realtime poller can execute a command stored in the database. The issue affects Cacti Core 1.2.31 when guest access is enabled, even on an isolated host. The researcher reported command execution in four requests without logging in. Until a fix is available, the article advises disabling guest access and restricting access to the Cacti web interface.

01

What is Cacti, and what does a network monitoring tool do?

Cacti is an open-source network monitoring tool. Network monitoring tools help operators observe connected devices and review information about their status or performance. Cacti displays graphs, and its poller gathers data. This matters because monitoring systems can contain details about many devices across a network.

The reported flaw turns a guest-facing feature into a route toward the server itself. A guest can store non-numeric text in a setting meant to control how many graphs appear per page. When the preview page uses default filters, that text can trigger SQL injection. Later, the realtime poller can execute a command stored in the database.

The issue affects Cacti Core 1.2.31 when guest access is enabled, even on an isolated host. The researcher reported command execution in four requests without logging in. Until a fix is available, the article advises disabling guest access and restricting access to the Cacti web interface.

02

How many HTTP requests did the researcher say could take an attacker from a fresh session to command execution?

The researcher, known as “ek0ms savi0r,” said a fresh, unauthenticated HTTP session could reach command execution in four requests. The claimed result was execution as the Cacti server user. No login or valid API key was needed, according to the researcher.

The sequence depended on guest access being enabled. It began by writing crafted text into a setting for the number of graphs shown per page. Loading the graph preview could then trigger SQL injection, and a later request to the realtime poller could lead to command execution. The article names the proof of concept 4HTTP2SHELL and 4HTTP2ROOT.

This is the researcher’s reported exploit path, not a claim that every Cacti setup is exposed. The article says the flaw affects Cacti Core 1.2.31 on an isolated host when the guest account is enabled. It recommends disabling guest access and restricting the web interface while users await a fix.

03

What does it mean for this vulnerability to be a zero-day?

A zero-day is a software vulnerability for which a fix is not yet available to users. The term is often used when a flaw is disclosed or exploited before a patch can protect affected systems. The article describes this Cacti issue as a new zero-day and says a fix is not yet available.

The proof-of-concept has not been assigned a CVE identifier, but that does not by itself determine whether a flaw is a zero-day. The relevant concern here is the reported attack path: guest access can lead to SQL injection and then command execution on the server. The article says the affected version is Cacti Core 1.2.31 when guest access is enabled.

Until a fix becomes available, users cannot rely on a vendor patch to address the reported problem. The article advises disabling the guest account, restricting access to the Cacti web interface, and checking poller configuration entries for unexpected command values. It also says users should apply fixes as soon as they become available.

04

How did guest access and an unchecked setting let the exploit progress from SQL injection to running commands on the server?

The exploit chain starts with guest access enabled. The attacker writes non-numeric text into “preview_graphs_per_page,” a setting meant to control how many graphs appear on a page. Cacti does not validate that the submitted value is an integer, and the stored value can bypass request validation later.

The crafted text contains SQL strings. When the graph preview page loads with default filters, the stored input can become a second-order SQL injection and run an arbitrary query. In the demonstrated attack, the query updates a record in Cacti’s poller table. The article also identifies stacked statements through the SQL LIMIT clause as part of the chain.

In the final step, the attacker invokes “graph_realtime.php” from the same guest session. That endpoint reads the modified poller row and passes its command string to PHP’s “popen()” without an allowlist or sanitization checks. The result, according to the researcher, is command execution as the Cacti server user.

05

What could an attacker do after gaining command execution on a Cacti server?

Command execution gives an attacker the ability to run commands on the Cacti server as the server user, according to the reported exploit. That can compromise the monitoring system itself. The article warns that the server may also become a pivot point for reaching other parts of the target network.

Cacti often stores credentials and connection details for routers, switches, servers, and other devices across a network, watchTowr said. An attacker who reaches command execution could use that foothold to reach beyond the monitoring server. The article also says successful exploitation can expose sensitive data.

The impact is not limited to access: an attacker could suppress alerts by modifying the poller table. The article does not describe how far an attacker could reach in every environment, so the consequences depend on the systems and information connected to a particular Cacti installation. It recommends restricting web-interface access and reviewing poller entries for unexpected command values while users await a fix.

06

What steps can Cacti users take to reduce the risk before a fix is available?

The article’s immediate advice is to disable the guest account. Guest access is the entry point in the reported exploit, so removing it reduces the risk described. Users should also restrict access to the Cacti web interface rather than leave it broadly reachable.

The article recommends reviewing poller configuration entries for unexpected command values. This is important because the demonstrated chain modifies a record in the poller table, and the realtime endpoint passes a stored command to PHP’s “popen()”. Checking for suspicious values can help identify an altered entry, though the article does not give a specific review procedure.

These are interim measures, not a permanent software fix. The article says no fix is available at the time of reporting and advises applying fixes as soon as they become available. It identifies Cacti Core 1.2.31 with guest access enabled as affected, including on an isolated host, so users should consider that configuration when assessing exposure.

07

What is SQL injection, and why can an application become vulnerable when it treats user input as part of a database command?

SQL injection is a flaw in which input supplied to an application changes or adds to the database command the application runs. Instead of treating the input only as data, the application lets it affect the query’s instructions. This can allow unintended database actions.

In the Cacti report, guest access could write arbitrary SQL strings into “preview_graphs_per_page,” a setting intended to hold a number. Cacti did not check that the value was an integer. When the graph preview page later loaded with default filters, the stored text could trigger a second-order SQL injection. “Second-order” means the input is stored first and causes trouble when it is used later.

The demonstrated SQL query modified a record in the poller table. A later call to the realtime poller endpoint caused the stored command to be passed to PHP’s “popen()” without an allowlist or sanitization checks. This shows how unchecked input can move from a database query problem to command execution on the server.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web