CVE-2026-27760
published critical CVSS 4.0 · 9.2OpenCATS PHP Code Injection via installer AJAX endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| opencats | — | OpenCATS0 through 0.9.7.4 (affected · custom) · 3002a29f4c3cada1aa2c4f3d4ae4e189906606b6 (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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 advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| opencats | OpenCATS | 0 through 0.9.7.4 (affected · custom)3002a29f4c3cada1aa2c4f3d4ae4e189906606b6 (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
6- 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
- https://www.vulncheck.com/advisories/opencats-php-code-injection-via-installer-ajax-endpoint
Provider assertions
2VulnCheck · cna
OpenCATS PHP Code Injection via installer AJAX endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc666a0feaf69cc756724f00faa22da5d6399db0d37206b8f94669a49e1c1929
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record