CVE-2026-27760
HIGH
NVD
CVSS Score
8.1
Severity
HIGH
Published
Apr 28, 2026
Vendor
unknown
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.
References
- https://chocapikk.com/posts/2026/opencats-installer-rce/
- 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/opencats/OpenCATS/commit/3002a29f4c3cada1aa2c4f3d4ae4e189906606b6
- https://github.com/opencats/OpenCATS/pull/706