{
  "url": "https://tldrcve.com/cacti-4http2root/",
  "json": "https://tldrcve.com/cacti-4http2root.json",
  "verdict_label": "Patch now if…",
  "scare_label": "Check today",
  "slug": "cacti-4http2root",
  "name": "Cacti 4HTTP2ROOT",
  "aliases": [
    "cacti",
    "4http2root",
    "4http2shell",
    "cacti 1.2.31",
    "cacti 1.2.32",
    "cacti guest",
    "cacti sql injection",
    "preview_graphs_per_page"
  ],
  "cves": [],
  "ghsa": [
    "GHSA-5x85-g4vc-gq53"
  ],
  "product": "Cacti",
  "disclosed": "2026-11-26",
  "updated": "2026-11-30",
  "verdict": "if",
  "tile_line": "Exploited. No login if guest access is turned on.",
  "tldr": "Cacti, a network monitoring tool, has a bug letting any user with default rights become admin and run commands, or anyone if guest access is turned on. It's exploited, with public exploit code. No release fixes it: apply Cacti's patch, turn guest off.",
  "summary": "The attacker saves a crafted \"graphs per page\" preference, which Cacti later pastes into a database query (SQL injection); from there they make themselves admin, or plant a command that Cacti's realtime graph page runs. Despite the name, commands run as the user behind Cacti's web server and poller, often not root. amdadulbari reported the logged-in bug to Cacti on 19 Nov, which rates it 8.8 (high); a researcher called ek0ms savi0r published the guest chain on 26 Nov, and watchTowr saw attacks on 27 Nov. Cacti stores SNMP strings and device logins, so a break-in can reach well beyond the Cacti server.",
  "status": {
    "exploit": "public",
    "attacks": "seen",
    "kev": null,
    "scare": 2.9
  },
  "status_cite": {
    "exploit": [
      1,
      8
    ],
    "attacks": [
      2
    ],
    "kev": [
      9
    ]
  },
  "affected": [
    {
      "label": "Cacti 1.x up to 1.2.31, unpatched",
      "text": "Cacti's advisory lists every release up to 1.2.31; watchTowr lists only 1.2.31, but the public exploit also worked on 1.2.22. Its author says 0.8.x doesn't have the vulnerable code. The fix will be in 1.2.32, which isn't out yet: 1.2.31 (15 Jun 2026) is the newest release. If you applied Cacti's 1.2.31 patch (commit `8910e2a`), you're not affected. Your version is in `include/cacti_version` in the Cacti folder, but that file doesn't change when you patch: the patch adds a function called `cacti_graph_pagination` to `lib/functions.php`.",
      "cite": [
        1,
        2,
        3,
        4,
        6,
        8,
        10
      ]
    },
    {
      "label": "Someone untrusted can view graphs",
      "text": "With guest access on, anyone who can load Cacti counts, no login needed, as long as the guest account can still use graph preview, which it can by default; the exploit's author says revoking that breaks the no-login attack. It's on when Guest User under Console → Configuration → Settings → Authentication names an account; Cacti ships with guest access disabled. With guest access off, an attacker needs an account with View Graphs and Update Profile, which every Normal User has by default.",
      "cite": [
        1,
        2,
        5,
        7,
        8
      ]
    },
    {
      "label": "Attackers can reach the web interface",
      "text": "The whole attack runs over Cacti's normal web pages. watchTowr says the risk is highest when they're reachable from untrusted networks.",
      "cite": [
        1,
        2
      ]
    }
  ],
  "do": [
    {
      "label": "Apply Cacti's patch now",
      "text": "1.2.32 will include the fix, but Cacti gives no date. Until then, Cacti says to apply its patch to 1.2.31 with these commands (it also applies to the original 1.2.31 release). Cacti's patch steps are for 1.2.31, so on an older release we'd update to 1.2.31 first. Update to 1.2.32 when it ships.",
      "cmd": "curl -fsSLO https://github.com/Cacti/cacti/commit/8910e2aa42bf30d313bdce91c562cb377f3442eb.patch\ncd /path/to/cacti\npatch -p1 < /path/to/8910e2aa42bf30d313bdce91c562cb377f3442eb.patch",
      "cite": [
        1,
        4
      ],
      "versions": [
        "cacti"
      ]
    },
    {
      "label": "Turn guest access off",
      "text": "Set Guest User to No User under Console → Configuration → Settings → Authentication. Cacti says this blocks the no-login attack. It's quicker than patching, so we'd do it first and leave it off unless you need it.",
      "cite": [
        1,
        2
      ]
    },
    {
      "label": "Limit who can reach it",
      "text": "Put the web interface behind a VPN or an allowlist, and until you've patched, take Update Profile away from accounts you don't trust.",
      "cite": [
        1,
        2
      ]
    },
    {
      "label": "Look for a break-in",
      "text": "Cacti says to 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`. Finding none doesn't rule out a break-in: the public exploit puts that setting back by default, but leaves its rewritten poller entry and the `.php` file it drops, on a stock install in Cacti's `cache/` folder. Also look for log warnings about a non-numeric value in a graph display setting, poller entries with commands you didn't set up, and new files written by the poller. If you find any, we'd treat the server as compromised and change the SNMP strings and device logins stored in Cacti.",
      "cite": [
        1,
        2,
        8
      ]
    }
  ],
  "sources": [
    {
      "title": "GitHub: Cacti advisory GHSA-5x85-g4vc-gq53, affected and fixed versions, how it works, patches, workarounds, credit",
      "url": "https://github.com/Cacti/cacti/security/advisories/GHSA-5x85-g4vc-gq53",
      "date": "29 Nov"
    },
    {
      "title": "watchTowr: 4HTTP2ROOT FAQ, exploited in the wild, guest chain, signs of compromise",
      "url": "https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/",
      "date": "28 Nov"
    },
    {
      "title": "GitHub: Cacti releases, newest is 1.2.31",
      "url": "https://github.com/Cacti/cacti/releases",
      "date": "15 Jun"
    },
    {
      "title": "GitHub: Cacti pull request #9013, the 1.2.31 patch, also applies to the 1.2.31 release",
      "url": "https://github.com/Cacti/cacti/pull/9013",
      "date": "28 Nov"
    },
    {
      "title": "Cacti docs: User Management, guest access is disabled by default",
      "url": "https://github.com/Cacti/documentation/blob/develop/User-Management.md"
    },
    {
      "title": "GitHub: Cacti 1.2.31, include/cacti_version",
      "url": "https://github.com/Cacti/cacti/blob/release/1.2.31/include/cacti_version"
    },
    {
      "title": "GitHub: Cacti commit 49fd19b, hardening on the 1.2.x branch for guest writes and realtime graphs",
      "url": "https://github.com/Cacti/cacti/commit/49fd19b5eb81c550225a6a3475c6f10384be37dc",
      "date": "28 Nov"
    },
    {
      "title": "GitHub: thiscitze/cacti-4http2shell, a public no-login exploit through guest access",
      "url": "https://github.com/thiscitze/cacti-4http2shell",
      "date": "27 Nov"
    },
    {
      "title": "CISA KEV catalog: not listed",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog"
    },
    {
      "title": "GitHub: Cacti commit 8910e2a, the 1.2.31 patch, adds cacti_graph_pagination to lib/functions.php",
      "url": "https://github.com/Cacti/cacti/commit/8910e2aa42bf30d313bdce91c562cb377f3442eb",
      "date": "28 Nov"
    }
  ],
  "changes": [
    {
      "date": "2026-11-30",
      "text": "Published."
    }
  ],
  "safe_versions": [
    {
      "id": "cacti",
      "name": "Cacti",
      "url": "https://tldrcve.com/versions/cacti/",
      "json": "https://tldrcve.com/versions/cacti.json",
      "checked": "2026-12-03",
      "lines": []
    }
  ]
}
