{"id":"CVE-2026-42785","aliases":["EUVD-2026-31835","GHSA-w8q9-g33h-9x9m"],"status":"published","title":"OpenKM 6.3.12 Remote Code Execution via Administrative Scripting","description":"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.","severity":{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00679,"percentile":0.52816,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-94"],"published":"2026-05-26T14:08:51Z","modified":"2026-10-06T22:10:00Z","products":[{"vendor":"openkm","product":"openkm community edition"},{"vendor":"openkm","product":"openkm professional edition"}],"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"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42785"},{"url":"https://www.openkm.com"},{"url":"https://github.com/advisories/GHSA-w8q9-g33h-9x9m"}],"sources":{"cve":[{"id":"CVE-2026-42785","title":"OpenKM 6.3.12 Remote Code Execution via Administrative Scripting","description":"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.","status":"published","published":"2026-05-26T14:08:51.032Z","modified":"2026-05-26T16:20:15.493Z","cvss":[{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T13:40:35.004553Z"}],"euvd":[{"id":"EUVD-2026-31835","description":"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.","status":"published","published":"2026-05-26T14:08:51Z","modified":"2026-05-26T16:20:15Z","cvss":[{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T18:21:06.903439Z"}],"ghsa":[{"id":"GHSA-w8q9-g33h-9x9m","title":"OpenKM 6.3.12 contains a remote code execution vulnerability that allows authenticated...","description":"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.","status":"published","published":"2026-05-26T15:32:11Z","modified":"2026-05-26T15:32:17Z","cvss":[{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:08:18.132911Z"}],"nvd":[{"id":"CVE-2026-42785","description":"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.","status":"published","published":"2026-05-26T15:16:38.023Z","modified":"2026-10-06T22:10:00.247Z","cvss":[{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:12:20.131508Z"}]}}
