{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.3.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "original_tag": "v4.3.1",
                "range": [
                  {
                    "fixed": "74299ffb635744354e7056242c4cd84d5479a120"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "22fb7fbe589e2b74eee1fdcb38e8b897d45cf108"
            },
            {
              "fixed": "74299ffb635744354e7056242c4cd84d5479a120"
            }
          ],
          "repo": "https://github.com/tastyigniter/tastyigniter",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rxg2-q8m5-6fgq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-184"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77612.json"
  },
  "details": "TastyIgniter is an open-source online ordering, table reservation, and restaurant management system. From version 4.0.0 to before version 4.3.1, TastyIgniter's TemplateSandbox class, uses an incomplete blocklist of dangerous PHP functions. The blocklist explicitly forbids system(), exec(), shell_exec(), and similar functions by name, but does not restrict higher-order functions such as call_user_func, call_user_func_array, array_map, array_filter, and preg_replace_callback. These functions can invoke any PHP callable -- including all the blocked ones -- allowing an authenticated staff user with the Site.Themes permission to achieve Remote Code Execution (RCE) on the server. This issue has been patched in version 4.3.1.",
  "id": "CVE-2026-77612",
  "modified": "2026-12-02T16:45:42.954827071Z",
  "published": "2026-12-02T15:01:41.835Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77612.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/tastyigniter/TastyIgniter/releases/tag/v4.3.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-rxg2-q8m5-6fgq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77612"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "TastyIgniter: TemplateSandbox Bypass via Higher-Order PHP Functions Leads to Remote Code Execution"
}