Cacti 4HTTP2SHELL (GHSA-5x85-g4vc-gq53) Exploited: Disable Guest Access and Patch Now

Cover card: Cacti 4HTTP2SHELL SQL injection GHSA-5x85-g4vc-gq53 at CVSS 8.8 is exploited, disable guest access and patch now.

Status: Attackers are going after a SQL injection flaw in Cacti, the open source network monitoring and graphing tool, through what Cacti's advisory calls the publicly disclosed 4HTTP2ROOT / 4HTTP2SHELL exploit chain. Cacti tracks the flaw as GHSA-5x85-g4vc-gq53, scores it CVSS 3.1 8.8 and lists Cacti 1.2.31 and earlier as affected. Any logged in user with Cacti's default "Normal User" permissions can use it to become an administrator. When the guest account is enabled, watchTowr says the chain reaches command execution on the Cacti server with no login at all. watchTowr reports exploitation in the wild, which it says it captured on 27 November 2026. Cacti merged fixes on 27 November 2026 (EST), but the fixed release, 1.2.32, has not shipped. Until it does, turn off guest access and apply Cacti's 1.2.31 maintenance patch.

The flaw has no CVE ID yet, and CISA's Known Exploited Vulnerabilities (KEV) catalog has no entry for it.

We read CISA catalogVersion 2026.11.30 (1,810 entries, released 2:44 p.m. EST on 30 November 2026) at 1:10 a.m. EST on 1 December 2026. KEV lists flaws by CVE ID, so this one cannot appear yet, and its absence does not mean the flaw is not being exploited (Rescana reading).

Executive Summary

Cacti collects performance data from routers, switches and servers, and it stores the SNMP strings and device logins it needs to reach them. watchTowr calls it "a central point of trust inside many enterprise networks", and says an attacker who reaches command execution "can gain a foothold reaching far beyond the monitoring server itself". A takeover of the monitoring server is therefore a takeover of a map of the network and of the keys to parts of it (Rescana reading).

Two facts decide how exposed a server is. First, the version: every release up to and including 1.2.31, the latest, is affected. Second, who can reach it: with the guest account on, anyone who can load the Cacti web interface can try the public chain; with it off, an attacker needs a Cacti login, which many organizations hand out widely for read only graph access (Rescana reading).

What to do first (Rescana guidance):

  • Turn off guest access today on every Cacti server: set Guest User to No User under Console > Configuration > Settings > Authentication. Cacti says this "blocks unauthenticated exploitation".
  • Take the Cacti web interface off untrusted networks. Put it behind a VPN or an IP allowlist, as Cacti and watchTowr both advise.
  • Apply Cacti's 1.2.31 maintenance patch (commit 8910e2aa, PR #9013), or move to 1.2.32 as soon as it is released.
  • Check every server that had guest access on for signs of the chain. Use the checks under Indicators of Compromise.

Technical Information

This section uses Cacti's advisory, its three fix pull requests and its documentation, plus watchTowr's FAQ for exploitation status. We describe the flaw at the level Cacti describes it.

Field Value
Advisory GHSA-5x85-g4vc-gq53 (Cacti, published 7:32 p.m. EST on 28 November 2026)
CVE None assigned
Product Cacti (cacti/cacti)
Affected 1.2.31 and earlier
Fixed 1.2.32 (not yet released); patches merged for the 1.2.31, 1.2.x and develop branches
CVSS 3.1 (Cacti) 8.8, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, for the logged in path; no official score covers the unauthenticated guest path
Weakness (Cacti) Improper input validation (CWE-20), SQL injection (CWE-89)
Authentication A Normal User login; none when the guest account is on (Cacti)
Exploitation In the wild, captured 27 November 2026 (watchTowr)

How the flaw works, as Cacti describes it. Cacti lets each user save display preferences from the profile page. The profile update path stored the submitted value "without any validation" for every user setting. One of those settings, preview_graphs_per_page, should be a small number. Cacti later uses the stored value as the default page size on the graph preview page, applies that default without running the number check, and pastes it into the LIMIT clause of a database query that is not prepared. Because the database connection accepts more than one statement per call, an attacker can append SQL statements of their own. Cacti says the outcome it verified is that the attacker "grants themselves console realms (full administrator)", and that Cacti's normal administrative features then give operating system command execution.

Who can reach it. Cacti says the flaw needs only the "View Graphs" and "Update Profile" permissions, which are both part of the default Normal User permission set, and that "No non-default configuration is needed." Cacti's advisory says an independent public disclosure in late November "chained this user-setting validation flaw with Guest access and realtime graph handling", and it calls that chain the publicly disclosed 4HTTP2ROOT / 4HTTP2SHELL exploit chain. watchTowr describes the result as command execution on the Cacti server by an attacker "with no account and no valid session". The commands run as the account that runs the Cacti web server and poller, which watchTowr says is "often a low privileged web user rather than root".

Guest access. Cacti's documentation says guest (anonymous) access "is disabled" by default and has been since 0.8.7. To turn it on, an administrator selects a designated guest user in the Authentication settings, and Cacti notes that "the default guest user has access to all graphs on the system". Cacti suggests the Guest User setting for cases such as embedding live graphs in other corporate websites, which is why some servers have it on (Rescana reading).

The fixes. Cacti merged three pull requests on the evening of 27 November 2026 (EST):

  • PR #9013 (1.2.31 maintenance branch, commit 8910e2aa, merged 7:24 p.m. EST) stops shared guest sessions from saving profile or graph preferences, checks the graph settings permission and the setting values on both save paths, cleans up stored page sizes before they reach a query, and requires a CSRF checked POST for profile changes. Cacti says the patch "also applies to the original 1.2.31 release tag".
  • PR #9014 (1.2.x branch, commit 49fd19b5eb, merged 8:28 p.m. EST), which Cacti calls a defense in depth patch, also rejects guest account changes across the profile and realtime graph pages and adds a graph permission check to realtime graph handling.
  • PR #9015 (develop branch, merged 8:24 p.m. EST) carries the same hardening to the develop branch.

Cacti says the fix will ship in the 1.2.32 release. When we checked, the newest tagged release in Cacti's repository was still 1.2.31, released in June 2026.

Credit and timing. Cacti credits the GitHub user amdadulbari for privately reporting the SQL injection on 19 November 2026. Cacti says the public chain was disclosed independently of that report. watchTowr dates its publication to 26 November 2026, when no vendor fix had been confirmed.

Affected Product Versions

Cacti's advisory lists 1.2.31 and earlier as affected and 1.2.32 as the patched version. watchTowr says the public chain was tested against 1.2.31; Cacti's advisory gives no lower bound, so treat every release up to 1.2.31 as affected (Rescana guidance). Servers with the guest account on face the unauthenticated chain. Servers with it off are still exposed to any user who holds the default Normal User permissions.

The same night, Cacti also published six advisories with CVE IDs for older flaws, among them an authenticated remote code execution flaw, a SQL injection and an authentication bypass. Cacti lists all six as fixed in 1.2.31, so they add to the risk only for servers still on 1.2.30 or older.

How to Find Your Exposure

Rescana guidance:

  • List every Cacti server you run, including lab, branch office and inherited installs, and record its version.
  • Check the Guest User setting on each one under Console > Configuration > Settings > Authentication. If a Guest User is selected and that account is enabled, the unauthenticated chain applies; set it to No User and disable the guest account in Cacti's user administration settings, as watchTowr advises.
  • Check where the web interface is reachable from. A Cacti console reachable from the internet or from user networks with guest access on is the highest priority.
  • Review who holds a Cacti login. Every account with the default Normal User permissions can use the flaw, so shared, stale and service accounts count.
  • Ask your managed service and monitoring providers whether they run Cacti for you, which version, and whether guest access is on.

Workaround and Mitigation

Cacti's immediate workarounds (vendor text, condensed):

  • "Disable Guest Access": set Guest User to No User. Cacti says this blocks unauthenticated exploitation, including the publicly disclosed 4HTTP2ROOT / 4HTTP2SHELL chain.
  • Restrict the Cacti web interface "behind a VPN or allowlist", and limit untrusted accounts with Update Profile (realm 20) access until the server is patched or on 1.2.32.
  • "Inspect Stored Settings" for non numeric values in numeric preferences (see Indicators of Compromise).

Until 1.2.32 ships (Rescana guidance):

  • Apply the 1.2.31 maintenance patch from Cacti's own repository (commit 8910e2aa, the patch Cacti's advisory points 1.2.31 users to), on a test server first, and confirm graphs and profiles still work before you roll it out.
  • Remove Update Profile permission from accounts that do not need to change their own preferences, and remove accounts nobody uses.
  • Run the Cacti web server and poller as an unprivileged account, never root. watchTowr notes that the gained privilege matches whichever account runs the Cacti web server and poller.
  • Treat turning off guest access as a stopgap, not the fix. It removes the unauthenticated path; the flaw is still there for logged in users until you patch.

Indicators of Compromise

None of the sources we opened publishes IP addresses, hashes or other network indicators for this activity, and we publish none. The checks below are the detection points Cacti and watchTowr give.

  • Stored settings (Cacti). Check the settings_user table for non numeric values in numeric preferences: preview_graphs_per_page, treeview_graphs_per_page, realtime_interval, min_tree_width, max_tree_width and page_refresh.
  • Poller configuration (watchTowr). Look for "unexpected command values that do not match normal polling setup", and for new files created by the poller process.
  • Application logs (watchTowr). Watch for warnings about non numeric values in graph display settings, which watchTowr says the chain produces even when the request succeeds.

How to use these (Rescana guidance):

  • Check back to at least 26 November 2026, the day the chain became public, on every server that had guest access on or untrusted users.
  • A clean result is not proof. An attacker with administrator rights can change settings back and remove files, so pair these checks with web server logs and host process records.
  • If you find a match, treat the server as compromised: preserve the database and logs, rebuild or patch the server, reset Cacti administrator and user passwords, and rotate every SNMP community string and device credential stored in Cacti.

watchTowr's FAQ gives no victim, payload or source details, and says: "No attribution has been made public." We name no threat actor.

Timeline (EST)

  • 19 November 2026: the SQL injection is reported privately to Cacti (Cacti advisory).
  • 26 November 2026: the chain is made public (watchTowr); watchTowr publishes its FAQ at 3:09 p.m. EST.
  • 27 November 2026: watchTowr captures exploitation in the wild.
  • 27 November 2026, 7:24 p.m. EST: Cacti merges PR #9013 for 1.2.31; PR #9015 (develop) follows at 8:24 p.m. EST and PR #9014 (1.2.x) at 8:28 p.m. EST.
  • 28 November 2026, 7:32 p.m. EST: Cacti publishes GHSA-5x85-g4vc-gq53; six more Cacti advisories follow at 8:32 p.m. EST.
  • 29 November 2026: watchTowr's FAQ carries an update note saying exploitation in the wild was reported.
  • 30 November 2026, 2:44 p.m. EST: CISA releases KEV catalogVersion 2026.11.30, with no entry for this flaw.

Third-Party Risk (TPRM) Angle

Network monitoring is often run by someone else: managed service providers, data center operators and network integrators install Cacti to watch the equipment they manage for you, and they connect it to your devices with credentials you gave them. A compromised Cacti server at a provider can hand an attacker those credentials and a path into your network, even if you never installed Cacti yourself (Rescana reading).

Questions that give a usable answer:

  • Do you run Cacti to monitor any of our devices or networks, and which version is it on today?
  • Is the guest account enabled on any of those servers, and is the web interface reachable from the internet?
  • Have you applied Cacti's 1.2.31 maintenance patch or turned off guest access, and on what date?
  • Have you checked those servers' stored settings and poller configuration since 26 November 2026, and will you rotate our device credentials if you find anything?

Need help finding which suppliers run Cacti against your network and how fast they act? Our team can help you prioritize them and track their answers. Talk to an expert

Sources

We read every source below between 1:10 a.m. EST and 1:20 a.m. EST on 1 December 2026.

Talk to an expert

Talk to Rescana about this advisory — or about how we help TPRM teams keep reviews moving.