Cacti 4HTTP2SHELL Zero-Day Now Exploited: Advisory GHSA-5x85-g4vc-gq53 (CVSS 8.8) Confirms Guest-to-Shell Chain, Patch for 1.2.31 Out but 1.2.32 Not Yet Released — Disable Guest Access

Cyber · 2026-11-30 · By Reef Administrator - H.A

Cacti 4HTTP2SHELL Zero-Day Now Exploited: Advisory GHSA-5x85-g4vc-gq53 (CVSS 8.8) Confirms Guest-to-Shell Chain, Patch for 1.2.31 Out but 1.2.32 Not Yet Released — Disable Guest Access

Cacti has published an advisory and source patches for the publicly released 4HTTP2SHELL chain, which turns an enabled guest account into command execution and is now reported exploited, while the fixed 1.2.32 release has yet to ship.

The Cacti project has published an official advisory for the "4HTTP2SHELL" zero-day (also called "4HTTP2ROOT"). This is the four-request exploit chain that went public on 26 November and lets anyone run commands on a Cacti monitoring server when its guest account is enabled. The advisory is GHSA-5x85-g4vc-gq53, rated CVSS 8.8 (High) and not yet given a CVE ID. It went live at 04:32 Mauritius time on 29 November (00:32 UTC). It confirms the root cause, lists patches for three code branches and gives workarounds. There is one catch: the fixed release, Cacti 1.2.32, has not shipped yet.

The threat has also grown. Security researchers who track the flaw now report exploitation in the wild, with activity first captured on 27 November. Until 1.2.32 is out, administrators need to apply a source patch or close the entry point themselves.

What Happened

On 26 November, a researcher posted a working proof of concept to GitHub. It turned a default-permission Cacti guest session into operating-system command execution in four HTTP requests. By their own account, the researcher did not tell the Cacti team first, so for about two days there was no CVE, no advisory and no patch.

The Cacti advisory shows the developers were not starting from zero. The core bug, an unvalidated user-profile setting that reaches a SQL query, was reported to them privately on 19 November by a different researcher. The public exploit then "chained this user-setting validation flaw with Guest access and realtime graph handling", in the advisory's words.

Fixes were merged quickly:

At the same time, the project published six more advisories for older flaws that were already fixed in Cacti 1.2.31 (June 2026). That release is now the minimum safe base for anyone patching.

Technical Details

According to the vendor advisory, the bug starts in auth_profile.php?action=update_data. This AJAX endpoint saves user-profile settings and stores the posted value "without any validation". The normal settings form resets non-numeric values to their defaults, but this path skips that step.

The setting that matters is preview_graphs_per_page. On the graph preview page, Cacti uses it as the default page size. When that default is applied, the integer filter never runs. The value is then pasted into the LIMIT clause of an unprepared query in get_allowed_graphs().

The database connection leaves PDO's emulated prepares and multi-statement support switched on. That means an attacker can append whole extra SQL statements, not just tamper with one query. The advisory says the result is "read/write access to the entire Cacti database", which leads to administrator takeover and, through normal admin features, command execution.

The vendor says the attack needs only the "View Graphs" and "Update Profile" permissions, and both are in Cacti's default "Normal User" set. The public chain goes further and runs everything through the unauthenticated guest session. Based on researchers' reconstructions, the four steps are:

Commands run as the account behind Cacti's web server and poller, usually www-data or apache. Reports of root access came from a lab install where Cacti ran as root. Even without root, a monitoring server is a valuable foothold. Cacti stores SNMP and device credentials and usually has network reach into segments that are otherwise closed off.

Who Is Affected

Patch Status

The fix will be part of Cacti 1.2.32, which had not been released at the time of writing. For now, the vendor publishes source patches:

Besides validating the setting, the develop patch requires POST for profile changes, blocks the guest account from changing profile, 2FA and real-time settings, and checks graph permissions before the real-time poller runs.

The advisory gives these steps for applying the 1.2.31 patch:

curl -fsSLO https://github.com/Cacti/cacti/commit/8910e2aa42bf30d313bdce91c562cb377f3442eb.patch
cd /path/to/cacti
patch -p1 < /path/to/8910e2aa42bf30d313bdce91c562cb377f3442eb.patch

If you run a distribution package, check whether your vendor has backported the fix before patching files by hand.

What To Do Now

SELECT user_id, name, value FROM settings_user
WHERE name IN ('preview_graphs_per_page','treeview_graphs_per_page',
  'realtime_interval','min_tree_width','max_tree_width','page_refresh')
  AND value NOT REGEXP '^[0-9]+$';

Also check:

If you find anything, treat the server as compromised: rebuild it, and rotate every SNMP community, device password and database credential Cacti held.

Why It Matters

This isn't the first time Cacti has become an urgent patch. The unauthenticated CVE-2022-46169 command injection was exploited in early 2023, when researchers counted about 6,400 internet-facing Cacti hosts and very few of them patched. Monitoring tools are attractive targets because they hold credentials and can reach almost every network segment, yet they are often left unpatched and exposed for convenience.

The handling here was mixed. Disclosing without telling the vendor gave defenders no warning. The Cacti maintainers merged fixes within about two days and documented them clearly. Still, three days after the exploit appeared there is no packaged release, so many administrators have to patch by hand or disable features to stay safe.

Sources

REEF SENTINEL