Severity by source
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
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Remote code execution in OpenKM Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) allows authenticated administrators to execute arbitrary Java/BeanShell code via the /admin/Scripting endpoint using the action=Evaluate parameter. Publicly available exploit code exists (Exploit-DB 52520 and a Nuclei template from Terra System Labs), though no active exploitation has been confirmed in CISA KEV; EPSS sits at 0.42% (62th percentile), reflecting moderate-but-not-widespread interest.
Technical ContextAI
OpenKM is an open-source enterprise document management system written in Java that runs inside a servlet container (commonly Tomcat) and exposes an administrative scripting console at /admin/Scripting. The console is designed to evaluate BeanShell snippets - a Java-syntax scripting language with full access to the JVM, classpath, and Runtime.exec - which is a textbook CWE-94 (Improper Control of Generation of Code, 'Code Injection') scenario where attacker-controlled input is fed directly to a script interpreter. The CPE strings cpe:2.3:a:openkm:openkm_community_edition and cpe:2.3:a:openkm:openkm_professional_edition confirm both the free and commercial product lines share the vulnerable scripting feature, and because BeanShell executes within the OpenKM JVM, any command runs with the privileges of the application server account (often the tomcat user or, in the official openkm/openkm-ce Docker image, root inside the container).
RemediationAI
No vendor-released patch identified at time of analysis - the provided references include the vendor site and third-party advisories but do not name a fixed Community or Professional Edition build, so operators should monitor https://www.openkm.com/ and the Terra System Labs and VulnCheck advisories for a patched release announcement. As compensating controls, restrict network reachability of the /admin/Scripting endpoint at a reverse proxy or WAF (block or allowlist by source IP), since the feature is rarely needed in production and disabling it does not affect end-user document workflows; rotate and harden all administrator passwords, enforce MFA on the admin role if the deployment supports it, and audit existing admin accounts for unused or shared credentials. Where the scripting console is genuinely required, isolate the OpenKM host on a management VLAN and log every POST to /admin/Scripting with action=Evaluate for SOC review - the trade-off of fully blocking the endpoint is loss of administrative scripting/automation, which most installations will not miss.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31835
GHSA-w8q9-g33h-9x9m