---
title: Zero-day flaw in Cacti allows unauthenticated command execution
url: https://www.dataloco.com/en/zero-day-flaw-in-cacti-allows-unauthenticated-command-execution
published: 2026-12-02T19:21:24+00:00
language: en
section: Security
source: https://www.it-connect.fr/4http2shell-cacti-faille-zero-day/
organizations: Cacti, watchTowr
publisher: Dataloco
---

# Zero-day flaw in Cacti allows unauthenticated command execution

A zero-day vulnerability named 4HTTP2SHELL was discovered in the Cacti network monitoring solution. The flaw permits an unauthenticated visitor to execute commands on the server by exploiting the guest account. Public proof of concept code for the exploit is available, and active exploitation attempts have already been identified in the wild.

The vulnerability affects Cacti Core 1.2.31, the latest version of the application released in June 2026. A security researcher published the proof of concept on GitHub on November 26, 2026. The researcher initially named the issue 4HTTP2ROOT before renaming it 4HTTP2SHELL, a reference to the four HTTP requests required to obtain a shell. The name does not imply a connection to the HTTP/2 protocol. The researcher did not notify the Cacti team before publishing the findings, meaning the vulnerability was disclosed without a patch or a Common Vulnerabilities and Exposures identifier.

The attack vector relies on the Cacti guest account, which allows unauthenticated users to view graphs and modify display preferences, including the pagination setting. The application fails to validate that the pagination value is a number. This unvalidated input is stored in the database and later reused in a SQL query, creating a SQL injection vulnerability. The malicious data is stored initially and executed later by the Cacti poller, the component responsible for collecting measurements. The poller retrieves commands from the database, and the injection allows an attacker to rewrite one of these commands for execution on the server. The executed command runs with the privileges of the account running Cacti, which may be a standard user account or the root user.

Cacti is a significant target for attackers because it is a monitoring solution that often stores Simple Network Management Protocol communities and credentials for supervised equipment. An attacker can also modify the poller configuration to mask alerts, allowing them to operate without detection. Only installations where the guest account is enabled are exposed to this specific vulnerability. Documentation indicates that guest access has been disabled by default since version 0.8.7, requiring an administrator to manually enable it, for example to provide graph access without login.

The published exploit was tested on Cacti Core 1.2.31, and earlier versions are likely also affected. The security firm watchTowr reported observing active exploitation of the vulnerability on November 27, 2026, the day after the public disclosure. Fixes were integrated into the maintenance branch for version 1.2.31 and the 1.2.x branch between November 27 and 28, 2026. These updates prevent the guest account from modifying preferences and validate pagination values before they are used in SQL queries. A new version has not yet been published on the releases page.

## This story in other languages

- [Italiano](https://www.dataloco.com/it/scoperta-vulnerabilita-zero-day-4http2shell-in-cacti-per-lesecuzione-di-comandi)
- [Português (Brasil)](https://www.dataloco.com/pt-br/falha-zero-day-no-cacti-permite-execucao-de-comandos-sem-autenticacao)
