# 4HTTP2SHELL: public exploit gives command execution on unpatched Cacti servers

A zero-day in the Cacti network monitoring tool lets unauthenticated attackers run commands when the guest account is enabled. No patch exists; the advice is to disable guest access and restrict the web interface to trusted networks.

Source: https://junglewise.ai/news/4http2shell-public-exploit-gives-command-execution-on-unpatched-cacti-servers  
Byline: Junglewise News Desk, https://junglewise.ai/news  
Topic: Vulnerabilities and exploitation  
Published: 28 November 2026  
Reading time: 5 min

![Close-up of blue network cables with yellow labels plugged into a patch panel inside equipment rack](https://images.unsplash.com/photo-1531668383211-64743e924c66?ixid=M3w0NDU4NjF8MHwxfHNlYXJjaHw4fHx3aXJpbmclMjBjbG9zZXQlMjBuZXR3b3JrJTIwZXF1aXBtZW50fGVufDF8MHx8fDE3OTU4NDY5NDR8MA&ixlib=rb-4.1.0&w=1600&q=80&fm=jpg&fit=crop)

Picture: Photo by [Franck V.](https://unsplash.com/@possessedphotography?utm_source=junglewise&utm_medium=referral) on [Unsplash](https://unsplash.com/?utm_source=junglewise&utm_medium=referral)

A working exploit for an unpatched flaw in [Cacti](/threats/technologies/cacti), the open-source network monitoring and graphing tool, has been published, and it lets an unauthenticated attacker run operating system commands on servers where the guest account is enabled. [BleepingComputer reported](https://bleepingcomputer.com/news/security/unpatched-cacti-zero-day-with-public-poc-gives-remote-code-execution) that the proof-of-concept, dubbed 4HTTP2SHELL and earlier 4HTTP2ROOT, was released on 26 November 2026 by a researcher using the name ek0ms savi0r, from a group calling itself Church of Malware, together with a technical write-up and a demonstration video.

The consequence goes well beyond one monitoring box. Cacti stores credentials and Simple Network Management Protocol (SNMP) passphrases for the devices it watches, so compromising a Cacti server could give an attacker access to other systems on the network. The researcher said the vulnerability was not reported to the Cacti project before publication, and as of BleepingComputer's 27 November report no patch had been released. Administrators are advised to disable the guest account and restrict access to the web interface to trusted networks.

Exploitation requires that Cacti's guest account is enabled, a configuration that allows anonymous visitors to view graphs. It does not require valid credentials, an API key or any interaction from a user. "I found a path from a fresh, unauthenticated HTTP session to command execution as the Cacti server user in four requests. No login. No valid API key. No phishing," the researcher wrote in the published write-up.

As of 27 November there were no reports of the flaw being used in attacks. Security firms watchTowr and RavenAI have published their own analyses of the exploit chain.

## What to do now

1. Disable the Cacti guest account. [The Hacker News](https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html) and BleepingComputer both point to this as the mitigation that removes the attack surface entirely, because the exploit chain begins with guest-accessible graph display settings.
2. Restrict access to the Cacti web interface so that it is reachable only from trusted internal networks or through a VPN. A Cacti console exposed to the internet is now a published, step-by-step target.
3. Review your poller configuration for commands you did not put there. The exploit works by rewriting what Cacti's real-time poller executes, so unexpected or unfamiliar command strings could indicate exploitation.
4. Check your logs for warnings about non-numeric values in graph display settings. BleepingComputer notes that such entries could indicate attempted exploitation.
5. If you find evidence of exploitation, treat the credentials and SNMP community strings stored in that Cacti instance as compromised, and rotate them on the monitored devices as well as on the server.
6. Confirm you are running Cacti 1.2.31. It does not fix this zero-day, but it does fix a separate critical pre-authentication SQL injection reachable on the same guest-enabled installs, and there is no reason to be exposed to both.

Watch the project's [security advisories page](https://github.com/Cacti/cacti/security/advisories) for a patch, and plan to apply it promptly when one appears: a public proof-of-concept with a video attached tends to shorten the window between disclosure and opportunistic scanning.

## Technical details

The flaw is a stored SQL injection. According to the analysis cited by BleepingComputer, Cacti validates guest users' graph display settings weakly, which allows an attacker to save malicious SQL statements into the guest user's display preferences in the Cacti database. When those stored values are later processed, the injected SQL runs and modifies the configuration of Cacti's real-time poller, the component that periodically executes commands to collect data from monitored devices. The poller then runs the attacker's command. RavenAI described the same chain as abuse of weak validation of guest graph display settings resulting in stored SQL injection.

The whole sequence takes four HTTP requests, which is where the 4HTTP2SHELL name comes from. Commands execute as the account that runs the Cacti web server and poller processes. watchTowr notes that the privilege level therefore depends on the deployment: in many installations that is a low-privileged web server account rather than root, which limits immediate damage without making the stored monitoring credentials any less attractive.

The researcher tested the exploit against Cacti Core 1.2.31. It is not yet clear whether earlier releases are also vulnerable, and no CVE identifier has been assigned to this issue. The write-up, proof-of-concept and video were published in a GitHub repository named "Sad Girls 0day Club". Affected version range, a CVE id, a patched release and any evidence of real-world exploitation all remain unknown at the time of writing.

There is an awkward symmetry to the version involved. Cacti 1.2.31 was itself the release that fixed [CVE-2026-39893](https://github.com/Cacti/cacti/security/advisories/GHSA-69gg-mjfm-jjpc), a pre-authentication SQL injection rated 9.8 on the CVSS scale and tracked as GHSA-69gg-mjfm-jjpc. That bug lived in `graph_view.php`, where the `rfilter` request variable was concatenated unsanitised into an `RLIKE` SQL clause, and it was reachable without authentication on exactly the same guest-enabled installations. The fix, merged in PR #7054, added a `db_qstr_rlike()` helper that sanitises and parameterises the input, and shipped in 1.2.31 for versions up to and including 1.2.30.

So the release that closed one guest-reachable SQL injection is the release the new guest-reachable SQL injection was demonstrated against. The [Cacti](/threats/vendors/cacti) project's advisory history shows this is a recurring theme rather than a one-off.

The disclosure was deliberately unco-ordinated. In a separate GitHub post, the researcher described years of vulnerability reports being waved away as duplicates, expected behaviour or not reproducible, writing: "We get cracked because we get gaslit for years by billion dollar companies that treat disclosure like a PR problem." An Instagram post announcing the exploit confirmed the issue was never reported to Cacti. Whatever the merits of that argument, the practical effect is that defenders and attackers received the details at the same moment.

## On Junglewise Threat Intelligence

- [Cacti](https://junglewise.ai/threats/technologies/cacti)
- [Cacti](https://junglewise.ai/threats/vendors/cacti)

## Related articles

- [Critical SQL injection flaw reported in DIGIT, the e-government platform used in ten countries](https://junglewise.ai/news/critical-sql-injection-flaw-reported-in-digit-the-e-government-platform-used-in)
- [NFS2ROOT: 12-year-old Linux NFS server flaw hands attackers root](https://junglewise.ai/news/nfs2root-12-year-old-linux-nfs-server-flaw-hands-attackers-root)
- [Drupal installer flaw under active attack, second patch released](https://junglewise.ai/news/drupal-installer-flaw-under-active-attack-second-patch-released)
- [Drupal installer flaw is being exploited to hijack sites, CISA orders fix](https://junglewise.ai/news/drupal-installer-flaw-is-being-exploited-to-hijack-sites-cisa-orders-fix)
