# Disable Cacti guest and patch 4HTTP2SHELL

> Turn off Cacti guest, apply the 1.2.31 patch from PR 9013 after a lab test, and keep the UI off the internet.

Source: https://fullbytedeveloper.com/blog/disable-cacti-guest-patch-4http2shell
Published here: 2026-11-29

Unauthenticated command execution on Cacti 1.2.31 with the guest account enabled is tracked as 4HTTP2SHELL, and Cacti's advisory GHSA-5x85-g4vc-gq53 lists no CVE id. Set Guest User to No User now, apply the 1.2.31 patch from pull request 9013 after a lab test, restrict the UI to management networks, and audit poller items. [2][4][5]

Related reading: [Patch Xen Orchestra empty-object login (CVE-2026-133469)](/blog/patch-xen-orchestra-empty-login-bypass), [Patch Exim 4.100 heap write (CVE-2026-137702)](/blog/patch-exim-4100-smtp-heap-write), [Patch GeoServer WFS KEV floors (CVE-2026-120705)](/blog/patch-geoserver-wfs-kev-floors) and [Patch W3 Total Cache CVE-2026-135616](/blog/patch-w3-total-cache-memcached-poi). Browse the [Security topic](https://fullbytedeveloper.com/blog/topic/security).

## Disable the guest account first

Open Console, then Configuration, then Settings, then Authentication, and set Guest User to No User. Cacti's advisory says this blocks unauthenticated exploitation, including the public 4HTTP2SHELL chain. If people need a read-only view, give them an authenticated read-only account instead. [4]

Keep the Cacti UI on a management network. Treat a public guest login page as exposure even after you plan to patch. [2]

## Confirm the guest-enabled path

BleepingComputer (2026-11-27, update 2026-11-28) reports a public proof-of-concept that lets unauthenticated attackers execute commands on vulnerable Cacti servers. The exploit is dubbed 4HTTP2SHELL. [2]

The researcher quote in that article: a path from a fresh unauthenticated HTTP session to command execution as the Cacti server user in four requests, with no login and no valid API key, against the default guest surface. [2]

The article states the attack requires the Cacti guest account to be enabled, and that privilege depends on the account running the web and poller processes. [2]

The researcher tested against Cacti Core 1.2.31. [2]

## Apply the 1.2.31 patch from pull request 9013

Cacti merged pull request 9013 into the `1.2.31` maintenance branch on 2026-11-28. The advisory says this patch applies to the 1.2.31 release tag and will ship in 1.2.32, which is not tagged yet. The latest tag is still `release/1.2.31` (2026-06-15). [3][4][5]

BleepingComputer's 2026-11-28 update quotes Cacti developer Sean Mancini: administrators running 1.2.31 can apply the patch by hand, and the team recommends testing it in a lab before production. [2]

**Warning:** run these on a lab copy of your Cacti directory first. They are the advisory's commands for a 1.2.31 install. [4]

```bash
curl -fsSLO https://github.com/Cacti/cacti/commit/8910e2aa42bf30d313bdce91c562cb377f3442eb.patch
cd /path/to/cacti
patch -p1 < /path/to/8910e2aa42bf30d313bdce91c562cb377f3442eb.patch
```

If you track the `1.2.x` branch in git instead of a release, pull request 9014 is the advisory's defense-in-depth patch for that branch. It rejects Guest account changes with HTTP 403 across profile handlers and checks graph permission before `shell_exec` in realtime graph code. [1][4]

## Restrict the UI and audit the poller

After you turn guest off and apply the patch, restrict the Cacti UI to management networks and review poller items for commands you did not create. The public write-ups describe preference writes that later become poller commands. [1][2]

Cacti's advisory also says to check the `settings_user` table for non-numeric values stored in numeric preferences such as `preview_graphs_per_page`. BleepingComputer adds that application log warnings about non-numeric graph display settings can mean someone tried the exploit. [2][4]

Send this to the teammate who left guest enabled because "the NOC dashboard is read-only anyway."

## Sources

1. [Cacti pull request 9014 (security harden on 1.2.x)](https://github.com/Cacti/cacti/pull/9014)
2. [BleepingComputer: unpatched Cacti zero-day with public PoC (updated 2026-11-28)](https://www.bleepingcomputer.com/news/security/unpatched-cacti-zero-day-with-public-poc-gives-remote-code-execution/)
3. [Cacti release/1.2.31 on GitHub](https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31)
4. [Cacti security advisory GHSA-5x85-g4vc-gq53](https://github.com/Cacti/cacti/security/advisories/GHSA-5x85-g4vc-gq53)
5. [Cacti pull request 9013 (1.2.31 maintenance patch)](https://github.com/Cacti/cacti/pull/9013)
