A zero-day vulnerability has been identified in Cacti version 1.2.31, allowing remote code execution through the guest account without requiring login credentials, API keys, or phishing. This vulnerability, named 4HTTP2ROOT or 4HTTP2SHELL, was disclosed by security researcher ek0ms savi0r on November 26, 2026.
The flaw is a stored SQL injection vulnerability that can be exploited in four HTTP requests when the guest account is enabled. This vulnerability allows an attacker to write a non-numeric value into the 'preview_graphs_per_page' setting, which can then be transformed into a second-order SQL injection, enabling arbitrary SQL query execution.
By exploiting this SQL injection, attackers can modify the poller table, leading to command execution via PHP's popen() function. Successful exploitation of this vulnerability could compromise the Cacti server, exposing sensitive data or suppressing alerts.
As of the time of reporting, no CVE identifier has been assigned to this vulnerability, and no vendor patch is available. However, mitigation advice includes disabling the guest account and restricting access to the Cacti web interface.
Although exploitation of this vulnerability has been reported, there is no evidence of exploitation in the wild as of November 27.
