{"id":"CVE-2026-27760","published":"2026-04-28T13:43:24Z","modified":"2026-11-08T14:01:44Z","title":"OpenCATS PHP Code Injection via installer AJAX endpoint","vendor":"opencats","product":"OpenCATS","tier":"core","eol":null,"affectedVersions":[{"vendor":"opencats","product":"OpenCATS","versions":["<= 0.9.7.4"]}],"fixedVersions":[{"vendor":"opencats","product":"OpenCATS","versions":["3002a29f4c3cada1aa2c4f3d4ae4e189906606b6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-28T14:55:56.133961Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The OpenCATS applicant tracking system, prior to commit 3002a29, contains a PHP code injection flaw in the installer AJAX endpoint, where the databaseConnectivity action parameter is not properly sanitised before being written into config.php. An unauthenticated remote attacker can exploit this by breaking out of the define() string with a single quote and statement separator, causing injected PHP to persist and run on every page load while the installation wizard remains incomplete.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:11:45Z"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03433,"percentile":0.89718,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-06-17","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | May 7, 2026","url":"https://otx.alienvault.com/pulse/69fb4ce6957faa5ed109be64","created":"2026-05-06"},{"name":"Known_Cve | May 6, 2026","url":"https://otx.alienvault.com/pulse/69f9fb81b11443144225a3f2","created":"2026-05-05"},{"name":"Known_Cve | May 5, 2026","url":"https://otx.alienvault.com/pulse/69f8a9e71eee0656283c0187","created":"2026-05-04"},{"name":"Known_Cve | May 4, 2026","url":"https://otx.alienvault.com/pulse/69f76ee40a24e43a3a55e9bc","created":"2026-05-03"},{"name":"Known_Cve | May 3, 2026","url":"https://otx.alienvault.com/pulse/69f61d7b1c7b6110a1ea04c5","created":"2026-05-02"},{"name":"Known_Cve | May 2, 2026","url":"https://otx.alienvault.com/pulse/69f4cbdd9d6792f5e0fe1441","created":"2026-05-01"},{"name":"Known_Cve | May 1, 2026","url":"https://otx.alienvault.com/pulse/69f378c160039674e6d8b0e2","created":"2026-04-30"},{"name":"Known_Cve | Apr 30, 2026","url":"https://otx.alienvault.com/pulse/69f22775c0cab1a8490f77d4","created":"2026-04-29"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://chocapikk.com/posts/2026/opencats-installer-rce/","tags":["technical-description","exploit"]},{"url":"https://github.com/opencats/OpenCATS/pull/706","tags":["issue-tracking","patch"]},{"url":"https://github.com/opencats/OpenCATS/commit/3002a29f4c3cada1aa2c4f3d4ae4e189906606b6","tags":["patch"]},{"url":"https://github.com/opencats/OpenCATS/blob/46e4727/lib/CATSUtility.php#L142-L172","tags":["related"]},{"url":"https://github.com/opencats/OpenCATS/blob/46e4727/modules/install/ajax/ui.php#L130","tags":["related"]},{"url":"https://www.vulncheck.com/advisories/opencats-php-code-injection-via-installer-ajax-endpoint","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-26052","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-26052","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"OpenCATS Installer PHP Code Injection","module":"exploit/multi/http/opencats_installer_rce","type":"exploit","disclosureDate":"2026-04-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/opencats_installer_rce.rb"}],"nuclei":[{"id":"CVE-2026-27760","name":"OpenCATS - Command Injection","severity":"high","path":"http/cves/2026/CVE-2026-27760.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-27760.yaml"}],"first":{"date":"2026-04-28","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/opencats_installer_rce.rb"},"provenance":"source"},"exploitRefs":["https://chocapikk.com/posts/2026/opencats-installer-rce/"],"flow":[],"timeline":[{"date":"2026-04-28","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-27760","provenance":"source"},{"date":"2026-04-28","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/opencats_installer_rce.rb","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":70.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 161 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":17.94,"detail":"percentile 0.8972"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 reference tagged Exploit; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":5.67,"detail":"base score 8.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}