CVE-2026-27760
9.2
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
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| opencats | OpenCATS | 0 <= 0.9.7.4 | affected |
| opencats | OpenCATS | 3002a29f4c3cada1aa2c4f3d4ae4e189906606b6 | unaffected |
Weaknesses
- CWE-94: CWE-94 Improper Control of Generation of Code ('Code Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: total
References
- https://chocapikk.com/posts/2026/opencats-installer-rce/
- https://github.com/opencats/OpenCATS/pull/706
- https://github.com/opencats/OpenCATS/commit/3002a29f4c3cada1aa2c4f3d4ae4e189906606b6
- 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://www.vulncheck.com/advisories/opencats-php-code-injection-via-installer-ajax-endpoint
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.