CVE-2026-27760

OpenCATS PHP Code Injection via installer AJAX endpoint

Published Apr 28, 2026 CVSS 4.0 · 9.2 Critical EPSS 33.0% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is a PHP code injection flaw (CWE-94) in the OpenCATS installer AJAX endpoint. An unauthenticated attacker can send a specially crafted payload in the databaseConnectivity action parameter to write malicious PHP code into its configuration files. Because the injected code is executed each time the installer wizard is not yet finished, the page loads.

Affected Systems

All installations of OpenCATS derived from the code base before commit 3002a29f4c3cada1aa2c4f3d4ae4e189906606b6 are impacted. No specific version numbers are listed, so any OpenCATS deployment prior to this update carries the vulnerability.

Risk and Exploitability

The CVSS score of 9.2 classifies the flaw as critical, and the EPSS score of 33% indicates a higher likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog, but attackers only need HTTP access to the installer AJAX endpoint. It is inferred that the attacker can send a crafted HTTP POST request without authentication to perform the injection, resulting in execution of malicious PHP code on every subsequent request until the installation wizard is completed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the OpenCATS software to a version that contains commit 3002a29f4c3cada1aa2c4f3d4ae4e189906606b6.
  • Immediately complete the OpenCATS installation wizard after applying the update to eliminate any incomplete configuration that could execute injected code.
  • Configure the web server or application firewall to block or remove access to the installer AJAX endpoint once the site is fully configured.

Generated by OpenCVE AI on October 25, 2026 at 17:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:opencats:opencats:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Opencats
Opencats opencats
Vendors & Products Opencats
Opencats opencats
Type Values Removed Values Added
Description 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.
Title OpenCATS PHP Code Injection via installer AJAX endpoint
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': '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'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:01 PM
Reserved
Feb 23, 2026, 9:38 PM
Status
Deferred
Published
Apr 28, 2026, 3:16 PM
Modified
Jul 14, 2026, 7:16 PM