CVEvulnerability
CVE-2026-27760
9.2 CRITICAL
Official page ↗
- Status
- Deferred
- Published
- 2026-04-28
- Last modified
- 2026-07-14
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 9.2 CRITICAL — 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
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.
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://chocapikk.com/posts/2026/opencats-installer-rce/ chocapikk.com
- https://github.com/opencats/OpenCATS/blob/46e4727/lib/CATSUtility.php#L142-L172 github.com
- https://github.com/opencats/OpenCATS/blob/46e4727/modules/install/ajax/ui.php#L130 github.com
- https://github.com/opencats/OpenCATS/commit/3002a29f4c3cada1aa2c4f3d4ae4e189906606b6 github.com
- https://github.com/opencats/OpenCATS/pull/706 github.com
- https://www.vulncheck.com/advisories/opencats-php-code-injection-via-installer-ajax-endpoint www.vulncheck.com