CVE-2026-27760 OpenCATS PHP Code Injection via installer AJAX endpoint
Unauthenticated attackers can execute arbitrary PHP code via the installer AJAX endpoint if the installation wizard is incomplete.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-27760?
CVE-2026-27760 is a critical code injection vulnerability in OpenCATS, published on 28 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-27760?
How do I fix CVE-2026-27760?
No fix has been published for CVE-2026-27760 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-27760 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27760 exists.
Public exploit code: 1 Metasploit module and 1 Nuclei template.
Sources
Also known as GHSA-h957-4jfh-qc3p.