Cacti 4HTTP2SHELL zero-day enables RCE; disabling guest access is not a complete fix

Cacti 4HTTP2SHELL allows unauthenticated RCE when guest access is enabled, and Normal User permissions still permit privilege escalation. Apply the patch.

TL;DR

Disabling guest access is not a full fix for Cacti 4HTTP2SHELL. While the unauthenticated attack path requires guest access to be enabled, Cacti’s advisory quoted by SecurityWeek warns that default Normal User permissions can still lead to administrator takeover and OS command execution in Cacti Core 1.2.31 [1]. Patches are now available for the 1.2.31, 1.2.x, and develop branches, with inclusion planned for 1.2.32—apply the branch patch immediately [1].

What happened

In late November 2026, a critical zero-day remote code execution chain in the open-source network monitoring platform Cacti—dubbed 4HTTP2SHELL (also initially referred to as 4HTTP2ROOT)—was publicly disclosed with proof-of-concept details [1][2]. Because the unauthenticated path only requires four HTTP requests against instances with Guest access enabled, initial coverage described it as an unpatched zero-day [2].

Since then, two important updates have changed the remediation picture:

  • Active probing: Security firms Previdian and WatchTowr observed exploitation attempts in the wild on November 27, 2026, though successful command execution in those attacks remained unconfirmed [1].
  • Patches available: Initial “unpatched” reports are now outdated. Cacti maintainers have published fixes for the 1.2.31, 1.2.x, and develop branches, with formal inclusion planned in Cacti 1.2.32 [1].

Who is affected

  • Cacti Core 1.2.31 (and vulnerable 1.2.x deployments) exposed to untrusted networks or untrusted internal users [1][2].
  • Instances with Guest access enabled: Any internet-facing or internally reachable Cacti deployment with anonymous guest access turned on is vulnerable to unauthenticated remote code execution [1][2].
  • Instances with Normal User accounts: Even with guest access disabled, Cacti’s advisory notes that default “Normal User” permissions are sufficient to escalate to administrator takeover and execute arbitrary OS commands [1].

Technical details

The 4HTTP2SHELL chain combines an unvalidated profile parameter with SQL injection and Cacti’s poller execution pipeline [2]:

  1. Profile injection (preview_graphs_per_page): An attacker—either anonymously via an enabled Guest account or as an authenticated Normal User—submits a crafted, non-numeric value to auth_profile.php?action=update_data [1][2].
  2. Stacked SQL injection: Because the input is concatenated into an SQL LIMIT clause without proper sanitization, the attacker uses stacked queries to modify internal poller records (poller_item.arg1) in the database [2].
  3. OS command execution: By triggering the real-time graph/poller endpoint (graph_realtime.php), Cacti passes the poisoned poller argument to a system execution call (such as PHP’s popen()), executing arbitrary OS commands under the Cacti service user [2].

This is why disabling Guest access alone is only a partial mitigation: it closes the unauthenticated door, but any compromised or malicious Normal User account can still abuse the underlying flaw [1].

What to do now

  1. Apply the official branch patch: Pull and apply the published fix for your Cacti branch (1.2.31, 1.2.x, or develop), and upgrade to 1.2.32 once released [1].
  2. Disable Guest access immediately: If you cannot patch right away, verify that anonymous Guest access is disabled in Cacti’s authentication and special user settings to block unauthenticated exploitation [1][2].
  3. Restrict network exposure: Place Cacti’s web interface behind a VPN, zero-trust proxy, or strict IP allowlist so it is not reachable from the public internet.
  4. Audit Normal User accounts and poller integrity: Review recent profile updates, unexpected entries in poller_item, and web server logs for requests targeting auth_profile.php and graph_realtime.php around or after November 27, 2026 [1][2].

Timeline

  • 2026-11-26 — 4HTTP2SHELL zero-day details and four-request RCE chain publicly disclosed [2].
  • 2026-11-27 — Previdian and WatchTowr observe exploitation attempts in the wild [1].
  • 2026-11-28 — SecurityWeek reports official patches are available for 1.2.31, 1.2.x, and develop branches ahead of 1.2.32 [1].

Sources

  1. 4HTTP2SHELL Cacti Vulnerability Exploited in Attacks, 2026-11-28
  2. Unpatched Cacti Zero-Day (4HTTP2SHELL) Enables Unauthenticated RCE via Guest Account, 2026-11-27