{"id":"CVE-2026-42785","published":"2026-05-26T14:08:51Z","modified":"2026-05-26T16:20:15Z","title":"OpenKM 6.3.12 Remote Code Execution via Administrative Scripting","vendor":"Openkm","product":"OpenKM Community Edition","tier":"tail","description":{"text":"OpenKM 6.3.12 contains a remote code execution vulnerability that allows authenticated administrators to execute arbitrary Java/BeanShell code through the /admin/Scripting endpoint. Attackers can submit malicious script content with an action=Evaluate parameter to execute operating system commands in the context of the OpenKM application server.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00679,"percentile":0.53307,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.exploit-db.com/exploits/52520","tags":["exploit"]},{"url":"https://www.openkm.com/","tags":["product"]},{"url":"https://hub.docker.com/r/openkm/openkm-ce","tags":["product"]},{"url":"https://terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs","tags":["vendor-advisory"]},{"url":"https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits","tags":["product"]},{"url":"https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-remote-code-execution","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/openkm-remote-code-execution-via-administrative-scripting","tags":["third-party-advisory"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":10.66},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"openkm","affectedVersions":[{"vendor":"Openkm","product":"OpenKM Community Edition","versions":["<= 6.3.12"]},{"vendor":"Openkm","product":"OpenKM Professional Edition","versions":["<= 7.1.47"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-26T16:20:05.567957Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31835","exploited":false,"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/52520","https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits","https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-remote-code-execution"]}