4HTTP2SHELL: Unpatched Cacti Zero-Day Turns Monitoring Servers into Pivot Points

Authors: Cloud Security Alliance AI Safety Initiative
Published: 2026-11-28

Categories: Vulnerability Management
Download PDF
Download Markdown

4HTTP2SHELL: Unpatched Cacti Zero-Day Turns Monitoring Servers into Pivot Points

Key Takeaways

On November 26, 2026, a researcher using the handle “ek0ms savi0r” published a working proof-of-concept exploit for a Cacti flaw now known as 4HTTP2SHELL (first published as 4HTTP2ROOT). The flaw lets an unauthenticated attacker run operating system commands on a Cacti server in four HTTP requests when the guest account is enabled [1][2][14]. The researcher says the issue was not reported to the Cacti project before release. As of the sources available through November 27, there is no CVE, no CVSS score, no vendor advisory, and no patch [1][2][3]. Cacti Core 1.2.31, the current stable release as of November 28, is the only version confirmed vulnerable. Whether earlier releases are affected has not been established [1][3].

The root cause, as reconstructed by independent analysts, is a stored, second-order SQL injection. A guest user can save a non-numeric value in a graph display preference. Cacti later concatenates that value into a SQL query, which lets the attacker overwrite a poller item so that the real-time poller runs an arbitrary command [1][4][13]. The commands run with the privileges of the account behind Cacti’s web server and poller. That account is usually not root, despite the original name [1][2].

The main concern is not the code-execution primitive itself but where Cacti sits in the network. Monitoring servers routinely hold SNMP community strings and device credentials, and firewall rules often let them reach routers, switches, and servers across many otherwise-isolated segments. A compromised Cacti host can therefore serve as a launch point for lateral movement into network infrastructure [1][2][5]. As of November 27, BleepingComputer and watchTowr reported no in-the-wild exploitation [1][2]. Previdian, however, reported 22 SQL injection probes from a single source IP against its Cacti honeypots on that date, without confirmed command execution [3].

Organizations running Cacti should disable the guest account now, or replace it with an authenticated read-only account where guest viewing is operationally essential. They should also restrict the web interface to management networks, confirm that Cacti does not run as root, and audit poller configuration for tampering. No code fix exists yet to replace these compensating controls.

Background

Cacti is an open-source network monitoring and graphing platform maintained by The Cacti Group. It polls devices, primarily over SNMP, stores the results in RRDtool databases, and presents them as time-series graphs through a PHP web interface backed by MySQL or MariaDB. Its long history, low cost, and broad device support have made it a fixture in enterprise network operations centers, service providers, universities, and managed service environments. Many organizations treat it as plumbing rather than as a security-relevant system. As a result, it often runs for years with minimal hardening and broad network reach.

Cacti has been a target before, and that history shows how exposed these deployments tend to be. CVE-2022-46169, an unauthenticated command injection rated CVSS 9.8 and fixed in versions 1.2.23 and 1.3.0, was exploited in the wild beginning in January 2023 [6]. Censys counted roughly 6,400 internet-accessible Cacti hosts at the time and found that only 26 were running a patched version [6]. CISA added CVE-2022-46169 to its Known Exploited Vulnerabilities (KEV) catalog in February 2023, and as of November 28, 2026, it remained the only Cacti entry in the catalog [7]. In June 2026, the project published several critical advisories, including two pre-authentication SQL injections in graph_view.php (GHSA-69gg-mjfm-jjpc and GHSA-gp82-qhrg-crv7) [8][15][16]. That page is also part of the 4HTTP2SHELL chain, though no link between those earlier fixes and the new flaw has been shown; Threadlinqs reviewed the June 2026 CVEs and found they were not shown to cover this chain [4][5].

The 4HTTP2SHELL disclosure did not follow coordinated disclosure norms. The researcher, who publishes under the “Church of Malware” banner in a GitHub repository called “Sad Girls 0day Club,” released the exploit, a write-up, and a video demonstration on Thanksgiving Day in the United States [1][14]. According to BleepingComputer, the researcher stated that the flaw was not reported to Cacti first [1]. watchTowr published an FAQ the same day, and Previdian published its own analysis and reported reproducing the exploit in a lab [2][3]. As of November 27, the Cacti GitHub advisory listing contained no entry for this issue, and CISA had not added it to the KEV catalog; a re-check on November 28 found both unchanged [2][7][8].

The table below summarizes the disclosure’s status. Because this status is expected to change, readers should check the Cacti security advisories page and the CISA KEV catalog for updates [7][8].

Attribute Status as reported through 2026-11-27 (KEV and advisories re-checked 2026-11-28)
Names 4HTTP2SHELL (current PoC name); 4HTTP2ROOT (original name, still used by watchTowr and Previdian)
CVE / CVSS Not assigned [2][3]
Confirmed affected version Cacti Core 1.2.31 (earlier versions unverified) [1][3]
Precondition Guest account enabled (disabled by default) [3][4]
Authentication required None [1]
Resulting privilege Account running Cacti web server and poller (commonly www-data or apache) [2][4]
Vendor patch None available [2]
CISA KEV Not listed [2][7]
Exploitation No confirmed compromises reported; honeypot SQL injection probes reported by Previdian [1][2][3]

Security Analysis

Attack Mechanics

The publicly described chain has four steps, each a single HTTP request. Threat-intelligence provider Threadlinqs reconstructed it from the proof-of-concept README and from RavenAI’s technical write-up. The vendor has not confirmed this reconstruction [4][13][14]. First, an anonymous visitor requests auth_profile.php?tab=general, which issues a guest session cookie and a CSRF token. Second, the attacker posts to auth_profile.php with action=update_data and stores a crafted string in the per-user setting preview_graphs_per_page in the settings_user table. The write uses a prepared statement, so it is not itself injectable, but Cacti never checks that the value is an integer [4].

The third request triggers the injection. A call to graph_view.php?action=preview reads the stored preference and concatenates it into the LIMIT clause of a query built in get_allowed_graphs() within lib/auth.php [4]. A stacked statement then rewrites the poller_item table, setting the arg1 field of a chosen data source to an attacker-supplied command. The fourth request, graph_realtime.php?action=init, starts Cacti’s real-time polling path. That path passes poller_item.arg1 to exec_poll() and ultimately popen() in lib/poller.php, which executes the command [4]. RavenAI notes that a PHP web shell or marker file may be written to the web root; a marker file would show only that execution occurred, while a web shell would give the attacker persistent access [4][13].

The bug fits a familiar pattern: defenses applied to input on the write path but not the read path. Because the malicious value is stored safely and only becomes dangerous when a later page load concatenates it into a query, controls that look for SQL injection syntax at the moment of execution, or that inspect only the triggering request, may miss it. Signatures keyed on the triggering request alone would see only half the chain. A rule that type-checks the stored preference at write time, by contrast, would block the second step. The design also shows how much weight Cacti puts on the integrity of its own database. The poller treats poller_item contents as trusted commands, so any write primitive against that table becomes a code-execution primitive.

Preconditions and Severity

The guest-account requirement is the most important limit on exposure. Cacti ships with guest access disabled, and both watchTowr and Previdian stress that the flaw is reachable only where administrators have turned it on [2][3]. Guest access may nonetheless be enabled in a meaningful number of deployments. Organizations sometimes turn on guest viewing so help desks, customers, or wall-mounted NOC displays can see graphs without logging in, and such convenience settings can persist long after they were first needed. There are no reliable public figures on how many internet-facing Cacti instances have guest access enabled, and none of the sources reviewed for this note provides an exposure count for 4HTTP2SHELL.

Severity ratings vary because there is no official score. BreachNews labels the issue critical, Threadlinqs assigns a provisional “high,” and watchTowr’s FAQ lists CVSS as 0.0, a placeholder pending CVE assignment [2][4][5]. Reports also disagree about privileges. BleepingComputer notes the researcher demonstrated root access. Threadlinqs and watchTowr explain that this happened only because the lab instance already ran Cacti as root, and that typical deployments yield a low-privileged web-service account [1][2][4]. Defenders should treat the result as service-account code execution with a credible path to further escalation, rather than as guaranteed root.

Why the Monitoring Plane Matters

A Cacti server is valuable to an attacker mainly because of what it can reach and what it knows. Polling network devices requires network reachability. Firewall rules and access control lists therefore often permit the monitoring host to reach the management interfaces of routers, switches, firewalls, and servers across segments that are otherwise isolated from one another. The Cacti database also stores SNMP community strings, SNMPv3 credentials, and, depending on configuration, credentials for scripted data collection [2][5]. With code execution as the web-service account, an attacker can typically read Cacti’s include/config.php, which contains database connection credentials. That in turn may expose those stored device credentials.

The likely result is a pivot point inside the network rather than a single compromised host. Cacti normally needs only read access, but where write-capable SNMP communities have been stored or reused, they may allow device configuration changes. Read-only credentials still yield detailed topology, interface, and routing information useful for planning later stages of an intrusion. Monitoring traffic is high-volume and expected, so malicious connections from the Cacti host to network devices may blend into normal polling patterns. CSA’s analysis of the Cisco SD-WAN CVE-2026-20245 zero-day described the same dynamic for network management planes: infrastructure that is trusted to see and touch everything becomes a force multiplier once compromised [9].

Monitoring integrity matters as well. An attacker who controls the poller can alter or suppress the data operators rely on to notice anomalies, for example by flattening a graph that would otherwise show unusual traffic. This parallels CSA’s FortiSandbox analysis, where compromising a security appliance’s verdict function blinded downstream controls that depended on it [10]. In both cases, a system that defenders use as a source of truth becomes a liability once its integrity is in doubt.

Exploitation Outlook

Several factors suggest the window before opportunistic exploitation may be short. The exploit is public, documented, and demonstrated on video. It needs no credentials and only four requests. Cacti has a precedent of mass exploitation following public disclosure, with attackers moving against CVE-2022-46169 within weeks of the fix [6]. Previdian’s report of 22 time-based SQL injection probes against its honeypots on November 27 is consistent with early reconnaissance, although Previdian did not confirm successful command execution, and its own summary table still described exploitation status as “demonstrated in a laboratory” [3]. Given the lack of a patch, defenders should plan around compensating controls for at least several days and possibly longer.

Recommendations

Immediate Actions

Because the published chain depends on guest access, disabling the Cacti guest account is the single most effective step currently available. Administrators can do this either through Console > Configuration > Users or by removing the guest user from the authentication settings [4]. This removes the unauthenticated entry point the published chain depends on. Organizations should apply this change everywhere unless guest access is operationally essential. Where it is essential, an authenticated read-only account behind single sign-on can provide similar visibility without exposing the flaw.

Network exposure should be reduced at the same time. The Cacti web interface should be reachable only from management networks or through a VPN, never directly from the internet [1][2]. Teams should also confirm that the web server and poller processes do not run as root, which limits the immediate impact of successful exploitation [3][5]. Beyond these preventive steps, administrators should determine whether an instance has already been targeted. The checks in the following table map each forensic artifact to what an investigator should look for.

Artifact What to look for
settings_user table preview_graphs_per_page values that are not plain integers [4]
poller_item table (arg1 field) Commands that do not match known data input methods [4]
Web server logs The sequence auth_profile.php → graph_view.php?action=preview → graph_realtime.php?action=init from the same source within a short window [4]
Application logs and web root Warnings about non-numeric values in graph display settings; unexpected PHP files in the web root [1][5]

Short-Term Mitigations

If any check suggests tampering, the host should be treated as compromised and handled through incident response rather than simple cleanup. Previdian recommends rotating stored device credentials when compromise is suspected [3]. In practice, this means changing SNMP community strings and SNMPv3 credentials on every device the instance polled, along with any credentials used by scripted data input methods. Teams should also review authentication and configuration logs on network devices for activity originating from the Cacti host after November 26.

Detection engineering should cover the full multi-stage chain rather than individual requests, because the stored nature of the injection means the malicious write and the triggering read are separate events. Threadlinqs has published a freely available correlation rule, in Sigma, SPL, and KQL, that ties together the three exploit-relevant requests (excluding the initial session-acquisition request); its other detection rules require an account [4]. Organizations can adapt this rule, keeping in mind that attackers can readily change the default parameters in the public proof-of-concept, such as the targeted poller_item ID. Where available, a web application firewall rule that rejects non-numeric values for graph display preferences offers an additional virtual-patching layer at the write step. Process monitoring on the Cacti host that alerts on unexpected child processes of the poller is also worth deploying. When The Cacti Group releases a fix, it should be applied promptly and verified against the published chain.

Strategic Considerations

The broader lesson is that monitoring infrastructure is part of the management plane and should be governed accordingly. Organizations should inventory the network reach and stored credentials of every monitoring, logging, and observability platform they operate, including Cacti and comparable tools. Firewall rules granting monitoring hosts broad access should be narrowed to the specific protocols and destinations polling actually requires. Monitoring credentials should be read-only wherever possible, scoped per device class, and rotated on a schedule. SNMPv3 with authentication and encryption should replace SNMPv1 and v2c community strings where devices support it.

This disclosure also highlights how much open-source infrastructure tools depend on maintainer teams that are often small and largely volunteer-based. A flaw released without coordination leaves defenders relying on configuration changes alone until such a project can respond. Organizations that rely heavily on these tools should consider supporting the projects directly. They should also monitor upstream repositories and threat-intelligence feeds so they are not waiting for a CVE or KEV listing that may arrive days after public exploit release. Exposure management programs should test whether convenience settings, such as guest access, remain enabled long after their original justification has lapsed.

CSA Resource Alignment

CSA’s rapid-research note on the Cisco SD-WAN CVE-2026-20245 zero-day is the closest analogue to this incident [9]. It examined how a command-injection flaw in centralized network management software turned a single compromised host into network-wide reach, and it recommended applying Zero Trust principles to control planes and segmenting management infrastructure. The same reasoning applies to Cacti. The monitoring server is a privileged node with broad reachability and stored credentials, so its compromise should be modeled as a management-plane event rather than as an isolated web application breach.

The FortiSandbox Triple-CVE note analyzed how exploiting a trusted security appliance undermined the downstream controls that depended on its output [10]. That analysis carries over directly to the integrity concern raised here, since a compromised poller can falsify or suppress the telemetry operators use to detect intrusions. Both cases argue for treating trusted infrastructure as an explicit part of the attack surface and for validating its integrity independently.

CSA’s Defining the Zero Trust Protect Surface guidance offers a method for putting these lessons into practice [11]. Its approach to identifying critical data, applications, assets, and services (DAAS) helps classify a monitoring server’s credential store and network reach as protect-surface elements that warrant dedicated controls and narrowly mapped transaction flows. Finally, the AI Controls Matrix (AICM) v1.1 supplies the control baseline [12]. Its Threat and Vulnerability Management (TVM) domain covers vulnerability remediation and compensating controls for unpatched flaws. The Identity and Access Management (IAM) domain addresses default and guest-account hygiene and credential rotation. The Logging and Monitoring (LOG) and Infrastructure Security (I&S) domains cover the detection and segmentation measures recommended in this note.

References

[1] Lawrence Abrams. “Unpatched Cacti zero-day with public PoC gives remote code execution.” BleepingComputer, November 27, 2026.

[2] watchTowr. “Frequently Asked Questions About the Cacti Remote Code Execution (4HTTP2ROOT Zero-day).” watchTowr, November 26, 2026.

[3] Ryan Dewhurst. “Cacti Zero-Day (4HTTP2ROOT): What We Know So Far.” Previdian, November 26, 2026.

[4] Threadlinqs. “Cacti 4HTTP2ROOT (4HTTP2SHELL) Zero-Day: Unauthenticated Command Execution via Stored Second-Order SQL Injection in Guest Profile Setting (No CVE Assigned).” Threadlinqs Intelligence, November 27, 2026.

[5] BreachNews. “Unpatched Cacti Zero-Day 4HTTP2SHELL Lets Guests Run Code on Monitoring Servers.” BreachNews, November 27, 2026.

[6] Ionut Arghire. “Most Cacti Installations Unpatched Against Exploited Vulnerability.” SecurityWeek, January 13, 2023.

[7] CISA. “Known Exploited Vulnerabilities Catalog.” Cybersecurity and Infrastructure Security Agency, accessed November 28, 2026.

[8] The Cacti Group. “Security Advisories — Cacti/cacti.” GitHub, accessed November 28, 2026.

[9] Cloud Security Alliance. “Cisco SD-WAN CVE-2026-20245 Zero-Day: Root Access Pre-Disclosure Exploitation.” CSA Lab Space, June 2026.

[10] Cloud Security Alliance. “FortiSandbox Triple-CVE: Security Appliances as Network Entry Points.” CSA Lab Space, June 2026.

[11] Cloud Security Alliance. “Defining the Zero Trust Protect Surface.” Cloud Security Alliance, March 5, 2024.

[12] Cloud Security Alliance. “AI Controls Matrix v1.1.” Cloud Security Alliance, June 2026.

[13] RavenAI. “Four Requests to Shell: Ek0ms’s Cacti 0-Day Chain.” RavenAI, November 26, 2026.

[14] ek0ms savi0r. “Sad Girls 0day Club: 4http2shell.” GitHub, November 26, 2026.

[15] The Cacti Group. “Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php (GHSA-69gg-mjfm-jjpc).” GitHub Security Advisory, June 19, 2026.

[16] The Cacti Group. “Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php (GHSA-gp82-qhrg-crv7).” GitHub Security Advisory, June 19, 2026.

← Back to Research Index