{
  "schema_version": "1.6.7",
  "id": "PRECVE-2026-1BE1D3C2",
  "modified": "2026-11-27T05:48:20Z",
  "published": "2026-11-27T05:48:20Z",
  "summary": "A zero-day vulnerability in Cacti Core 1.2.31 allows unauthenticated remote code execution via guest access by exploiting a second-order SQL injection in the preview_graphs_per_page setting.",
  "details": "The vulnerability abuses the guest account to write arbitrary SQL strings into the preview_graphs_per_page setting without validation. This leads to a second-order SQL injection when the graph preview page loads, allowing arbitrary SQL query execution. The poller then executes a database-stored command string via PHP's popen() function without sanitization, enabling remote code execution. The guest account is disabled by default starting with Cacti 0.8.7. Fixes have been released for the 1.2.31 maintenance branch and other active branches, with an official fix expected in Cacti 1.2.32.",
  "aliases": [
    "GHSA-5x85-g4vc-gq53"
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "GitHub",
        "name": "cacti/cacti",
        "purl": "pkg:github/cacti/cacti"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.32"
            }
          ]
        }
      ],
      "database_specific": {
        "zerobom": {
          "evidence_quotes": [
            "The shortcoming affects Cacti Core 1.2.31, the latest version, when the guest account is enabled. It's worth noting that the guest account is disabled by default starting with Cacti version 0.8.7.",
            "Fixes for 4HTTP2ROOT Released\nThe maintainers of Cacti have released patches to address the Cacti 1.2.31 Vulnerability known as 4HTTP2ROOT. An official fix is expected to be included in the upcoming Cacti 1.2.32 release."
          ],
          "grounding_status": "verified",
          "registry_status": "skipped",
          "routing": "triage",
          "aliases": [
            "GHSA-5x85-g4vc-gq53"
          ]
        }
      }
    }
  ],
  "references": [
    {
      "type": "ARTICLE",
      "url": "https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Cacti/cacti/commit/8910e2aa42bf30d313bdce91c562cb377f3442eb"
    },
    {
      "type": "WEB",
      "url": "https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Cacti/cacti/commit/8910e2aa42bf30d313bdce91c562cb377f3442eb"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Cacti/cacti/commit/49fd19b5eb81c550225a6a3475c6f10384be37dc"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Cacti/cacti/commit/e23470d817222387f3441139e014ad21135b171e"
    }
  ],
  "database_specific": {
    "zerobom": {
      "source_tier": "unknown",
      "source_tier_weight": 0.55,
      "extraction_specificity": 1.0,
      "composite_score": 0.55,
      "routing": "triage",
      "severity": "CRITICAL",
      "cwe_ids": [],
      "evidence_quotes": [
        "The shortcoming affects Cacti Core 1.2.31, the latest version, when the guest account is enabled. It's worth noting that the guest account is disabled by default starting with Cacti version 0.8.7.",
        "Fixes for 4HTTP2ROOT Released\nThe maintainers of Cacti have released patches to address the Cacti 1.2.31 Vulnerability known as 4HTTP2ROOT. An official fix is expected to be included in the upcoming Cacti 1.2.32 release."
      ],
      "article_type": "original_disclosure",
      "source_name": "The Hacker News",
      "prompt_version": "v1.5",
      "extractor_model": "gpt-4.1-mini"
    }
  }
}
