‘4HTTP2SHELL’ Cacti Vulnerability Exploited in Attacks
Hackers began exploiting a high-severity SQL injection flaw in Cacti Core 1.2.31 within one day of public exploit release, prompting nearly 1,800 attacks.
By Dillip Chowdary • Nov 30, 2026 • Source: SecurityWeek

At a glance
- Affected product
- Cacti Core version 1.2.31
- Severity score
- CVSS 8.8
- Exploit name
- 4HTTP2SHELL
- Attacks observed
- Nearly 1,800 exploitation attempts
- Fix availability
- Patches for 1.2.31, 1.2.x, develop, and 1.2.32
- Vulnerability reporter
- DevOps engineer Amdadul Bari
In this post
Cacti maintainers released emergency patches across multiple branches after attackers began exploiting a high-severity flaw in Cacti Core version 1.2.31. According to SecurityWeek's report, threat actors initiated automated attacks against unpatched deployments within one day of exploit publication. The underlying SQL injection defect carries an 8.8 CVSS rating and permits application database compromise alongside remote command execution on host operating systems.
This technical report examines the architecture of the SQL injection defect, the construction of the unauthenticated 4HTTP2SHELL attack chain, telemetry from active scans, and defensive deployment baselines. It is written for network operations managers, system administrators, and infrastructure security teams responsible for maintaining Cacti monitoring servers across corporate perimeters.
01Core database injection and administrative takeover
Cacti operates as an open source network monitoring and graphing platform built on RRDtool to track operational metrics across enterprise switches, routers, and servers. Security audits uncovered a high-severity SQL injection vulnerability within Cacti Core version 1.2.31 that compromises the trust boundary of the platform. Although the flaw currently lacks an assigned CVE identifier, analysts calculated an initial CVSS score of 8.8 due to its extensive access implications.
Under baseline conditions, any authenticated user possessing standard Normal User permissions can trigger the vulnerability to obtain unrestricted read and write privileges over the application database. Cacti maintainers confirmed that this access permits administrator takeover and subsequently allows arbitrary remote command execution through intended administrative features. Consequently, low-privileged operational accounts can hijack the underlying server hosting the monitoring software without requiring elevated rights.
02Private vulnerability disclosure and maintenance patches
The security flaw came to light through a private vulnerability report submitted on November 19 by DevOps engineer Amdadul Bari. Project maintainers investigated the reported database injection logic and verified that authenticated users could escalate privileges directly to server-level execution. In response, Cacti developers prepared source code fixes across active maintenance branches to neutralize the unauthorized database manipulation routines.
Note: Patches have been released for the 1.2.31, 1.2.x, and develop repository branches, with official inclusion scheduled for the upcoming version 1.2.32 release. Engineering teams must apply these maintenance branch updates immediately to prevent unauthorized administrative escalation across unpatched monitoring servers.
The disclosure timeline narrowed significantly before the formal packaging of version 1.2.32 could reach broad distribution channels. Maintainers worked to notify administrators and backport defensive commits to existing branches as public attention shifted toward the issue. Securing the database abstraction layer prevents unvalidated inputs from breaking out of intended queries and executing arbitrary operating system commands.
03Four silent requests to arbitrary shell
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
On November 26, two days prior to Cacti's formal advisory, an independent researcher published proof-of-concept exploit code online. The proof-of-concept chained the underlying SQL injection flaw with Cacti's guest access features and real-time graph handling routines. Originally titled 4HTTP2ROOT and subsequently renamed 4HTTP2SHELL, the exploit weaponized the vulnerability into an unauthenticated remote code execution vector requiring no account credentials or valid session tokens.
The exploit sequence functions through four quiet HTTP transmissions tested against Cacti Core version 1.2.31 with guest access enabled. As the researcher observed, the four-request path generates no suspicious authentication anomalies, file uploads, or obvious command strings in URLs, blending with standard traffic. A guest session, a profile update, a preview request, and a real-time graph request complete the compromise without alerting monitoring defenses.
Cybersecurity firm WatchTowr revealed that the attacker starts as an anonymous guest and writes an unvalidated value into a per-user display setting. The server subsequently inserts that value into a database query that executes as multiple commands, modifying an internal poller setting into a shell command. A separate guest-reachable web page then triggers and executes the configured shell command, delivering operating system command control directly to the attacker.
04Eighteen hundred exploitation attempts in the wild
Active in-the-wild exploitation of Cacti servers commenced on November 27, exactly one day after the public release of the 4HTTP2SHELL proof-of-concept code. Preemptive cybersecurity firm WatchTowr and threat intelligence group Previdian both issued warnings regarding automated scanning sweeps targeting Internet-exposed monitoring instances. The speed of the transition from exploit disclosure to mass scanning underscores the acute exposure facing Internet-accessible network tools.
Previdian's telemetry sensors recorded nearly 1,800 distinct exploitation attempts originating from external hosts seeking vulnerable Cacti deployments. Attackers leveraged automated scripts modeled after the published four-request chain to discover exposed installations with guest access enabled. These systematic probes attempted to inject commands into poller configurations before organizations could evaluate branch updates or restrict external gateway access.
05Network restrictions and guest account mitigation
Security analysts recommend immediate configuration audits across all operational Cacti instances to mitigate exploitation risks while version 1.2.32 undergoes rollout. Organizations must disable the guest account across their Cacti deployments, ensure instances remain accessible exclusively from trusted internal networks, review user profiles for unexpected setting changes, and enforce least privilege controls. Isolating administrative management interfaces behind virtual private networks significantly reduces external exposure to automated scanning tools.
Note: Cacti has had the guest account disabled by default since version 0.8.7, meaning default installations that never enabled guest browsing are naturally shielded against the unauthenticated 4HTTP2SHELL attack chain. Administrators should still verify that guest access remains deactivated across all legacy configurations.
Deployments that rely on authenticated Normal User accounts still face internal compromise risks from the core SQL injection vulnerability until patched. System administrators should inspect database poller tables and review application logs for unauthorized modifications to per-user display values. Restricting database permissions for the underlying Cacti database user and applying the latest branch commits ensures complete protection against both authenticated and chained exploits.
Frequently asked questions
What is the 4HTTP2SHELL vulnerability in Cacti?
It is an exploit that chains an SQL injection flaw in Cacti Core 1.2.31 with guest access and real-time graph handling. This chain allows unauthenticated attackers to execute arbitrary operating system commands on the server.
Which Cacti versions are affected by the vulnerability?
The SQL injection flaw was discovered in Cacti Core version 1.2.31. Fixes have been released for the 1.2.31, 1.2.x, and develop branches, and are scheduled for release in version 1.2.32.
Does the unauthenticated exploit work if the guest account is disabled?
No, the 4HTTP2SHELL unauthenticated attack chain requires the guest account to be enabled. Cacti has disabled the guest account by default since version 0.8.7.
How many exploitation attempts have been observed in the wild?
Cybersecurity firm Previdian observed nearly 1,800 in-the-wild exploitation attempts starting on November 27. Both Previdian and WatchTowr warned that attacks began one day after exploit code was published online.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement