Skip to content
Heist/ feed
Back to feed
Critical

OpenCATS PHP Code Injection via installer AJAX endpoint

Type: advisorySources: OSV

OpenCATS prior to commit 3002a29 contains a PHP code injection vulnerability in the installer AJAX endpoint that allows unauthenticated attackers to execute arbitrary code by injecting PHP statements into the databaseConnectivity action parameter. Attackers can break out of the define() string context in config.php using a single quote and statement separator to inject malicious PHP code that persists and executes on every subsequent page load when the installation wizard remains incomplete.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-27760
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:54 UTC · Revision 1

Source evidence

OpenCATS PHP Code Injection via installer AJAX endpoint

core-osv · Original source

Published 28 Apr 2026, 13:43 UTC

OpenCATS prior to commit 3002a29 contains a PHP code injection vulnerability in the installer AJAX endpoint that allows unauthenticated attackers to execute arbitrary code by injecting PHP statements into the databaseConnectivity action parameter. Attackers can break out of the define() string context in config.php using a single quote and statement separator to inject malicious PHP code that persists and executes on every subsequent page load when the installation wizard remains incomplete.

osv:CVE-2026-27760
Complete source record
{
  "id": "801c169acb18bdf93609cf45915877aeae602c6cd4a1fb01763fea181633bc08",
  "url": "https://osv.dev/vulnerability/CVE-2026-27760",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenCATS PHP Code Injection via installer AJAX endpoint",
    "summary": "OpenCATS prior to commit 3002a29 contains a PHP code injection vulnerability in the installer AJAX endpoint that allows unauthenticated attackers to execute arbitrary code by injecting PHP statements into the databaseConnectivity action parameter. Attackers can break out of the define() string context in config.php using a single quote and statement separator to inject malicious PHP code that persists and executes on every subsequent page load when the installation wizard remains incomplete.",
    "evidence": "osv:CVE-2026-27760",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-27760",
      "aliases": [
        "CVE-2026-27760"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/opencats/opencats",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3002a29f4c3cada1aa2c4f3d4ae4e189906606b6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.9.7.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3002a29f4c3cada1aa2c4f3d4ae4e189906606b6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.9.7.4",
            "0.9.7.3",
            "v0.9.7.2",
            "opencats-0.9.7",
            "0.9.6",
            "0.9.4-3",
            "0.9.4-2",
            "0.9.4-1",
            "0.9.4",
            "0.9.3-3",
            "0.9.3-2",
            "0.9.3-1",
            "0.9.1a",
            "opencats-0.9.3(final)",
            "opencats-0.9.3(alpha)",
            "opencats-0.9.3",
            "0.9.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27760.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.323468604Z",
      "provider": "osv",
      "references": [
        "https://github.com/opencats/OpenCATS/blob/46e4727/lib/CATSUtility.php#L142-L172",
        "https://github.com/opencats/OpenCATS/blob/46e4727/modules/install/ajax/ui.php#L130",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27760.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-27760",
        "https://www.vulncheck.com/advisories/opencats-php-code-injection-via-installer-ajax-endpoint",
        "https://github.com/opencats/OpenCATS/pull/706",
        "https://github.com/opencats/OpenCATS/commit/3002a29f4c3cada1aa2c4f3d4ae4e189906606b6",
        "https://github.com/opencats/OpenCATS",
        "https://chocapikk.com/posts/2026/opencats-installer-rce/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27760.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-27760",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494768,
  "published_at": "2026-04-28T13:43:24.366+00:00"
}