Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as ROLE_USER
-
DeliveryRegister process definition with BeanShell script
-
ExploitInvoke runProcessDefinition
-
ExecutionExecute Java/OS commands as service (root in Docker)
-
ImpactFull host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold a valid account with at least the ROLE_USER role on the OpenKM Community Edition instance; exploitation specifically targets the REST endpoints registerProcessDefinition and runProcessDefinition in the workflow-definition management feature, which enforce authentication but omit role verification in the WorkflowService and lower layers. Code execution is achieved by embedding BeanShell scripts in a process definition, so the workflow/process-definition capability must be reachable. The primary limiting factor is that authentication is required (PR:L), so anonymous/unauthenticated exploitation is not supported; impact severity (root-level) is maximized specifically in the official Docker image where the service runs as root, while non-root deployments execute code at the service account's lower privilege. |
| Impact | This is a credible near-term priority rather than an inflated high-CVSS issue. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network-reachable, low-complexity exploitation requiring only authenticated low-privilege access (PR:L), and VC:H/VI:H/VA:H reflects the full compromise that BeanShell-driven code execution delivers - effectively arbitrary Java and OS command execution, running as root in the official Docker image. The key limiting factor is PR:L: an attacker must already hold a valid ROLE_USER account, so this is post-authentication, which tempers the 'anyone on the network' reading. The vuln.today decision label is 'this_week', consistent with a high-impact, low-barrier bug that is not yet mass-exploited. No EPSS score, no CISA KEV listing, and no PoC reference accompany this input, so there is no evidence of active exploitation or published exploit code - the risk is driven by severity and ease of post-auth exploitation, not by observed in-the-wild activity. Any environment where untrusted or numerous users can obtain ROLE_USER accounts should treat this as a privilege-escalation-to-RCE path; where accounts are tightly controlled, the practical exposure is lower. |
| Exploit ScenarioDerived | An attacker holding (or able to register) a low-privilege ROLE_USER account on an OpenKM Community Edition instance calls the REST endpoint registerProcessDefinition to upload a workflow process definition containing a BeanShell script, then invokes runProcessDefinition to execute it. Because neither the WorkflowService nor lower layers verify the caller's role, the script runs with the service's privileges - root in the official Docker image - yielding arbitrary Java and operating-system command execution. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Any authenticated OpenKM Community Edition user holding only the ROLE_USER role can register and run a workflow process definition containing BeanShell scripts, gaining Java code and operating-system command execution at the service account's privilege - which is root in the official Docker image. The root cause is a missing authorization check (CWE-862): the registerProcessDefinition and runProcessDefinition REST endpoints verify that a caller is authenticated but never verify roles in the WorkflowService or lower layers. Exploitation requires a valid ROLE_USER account and reachable workflow-definition functionality (PR:L, network-reachable, no user interaction); no public exploit code has been identified at time of analysis, and the INCIBE-reported issue is treated as a near-term priority rather than an emergency.
RemediationAI
No vendor-released patch or fixed version is identified in the available sources, so remediation must begin with compensating controls while the INCIBE-CERT advisory (https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-openkm-community-edition) is monitored for an updated release. Restrict the registerProcessDefinition and runProcessDefinition REST endpoints at a reverse proxy or WAF so that only administrative identities can reach them, accepting that legitimate workflow administration must then originate from those identities or trusted networks. Audit and reduce ROLE_USER membership on the instance, removing the role from accounts that do not require interactive access, with the trade-off that affected users lose normal document access until re-provisioned. Reconfigure the service to run as an unprivileged user instead of root - particularly in the official Docker image - which requires adjusting file and volume ownership but caps the impact of any BeanShell execution at the service account's rights. Where workflow definitions are not actively managed, disable or firewall off the workflow-management API entirely, understanding that workflow features will stop working for all users. Monitor process-definition registration events and inspect submitted definitions for BeanShell script content as a detection layer, noting that this is detective rather than preventive.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenKM Community Edition is a Java-based document management platform whose workflow-definition management is exposed through REST endpoints, specifically registerProcessDefinition and runProcessDefinition. Process definitions in this workflow engine can embed BeanShell scripts, which are evaluated inside the Java runtime; because the endpoints enforce authentication but omit role verification in the WorkflowService and in lower layers, the authorization decision is effectively delegated to any holder of a valid session with ROLE_USER. That maps to CWE-862 (Missing Authorization), where the security check is absent rather than bypassable. Successful registration followed by execution of a crafted definition yields arbitrary Java code and operating-system command execution under the identity of the OpenKM service account; the official Docker image runs that process as root, so the same primitive reaches full host-level privilege there, while non-root deployments confine execution to the service account's rights. The affected product is captured by the wildcard CPE cpe:2.3:a:openkm:openkm_community_edition:*:*:*:*:*:*:*:*, meaning all versions are in scope and no specific fixed branch is identified in the supplied data.
Know when Openkm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable REST endpoints (AV:N), no special conditions beyond a low-privilege account (AC:L, PR:L, UI:N), and BeanShell code execution yields full confidentiality, integrity, and availability impact.
Primary rating from Vendor (INCIBE).
CVSS VectorVendor: INCIBE
DescriptionCVE.org
Unauthorization vulnerability in the management of workflow definitions in OpenKM Community Edition. The REST endpoints registerProcessDefinition and runProcessDefinition require authentication but do not verify roles in the WorkflowService or in lower layers. An attacker with the ROLE_USER role can register and execute a process definition containing BeanShell scripts, allowing them to execute Java code and operating system commands with the service’s privileges. In the official Docker image, the process runs as root.
Articles & Coverage 3
Executive ViewAI
CVE-2026-112182 in OpenKM Community Edition enables any authenticated low-privileged user to execute arbitrary commands as the service account (often root in Docker), leading to full system compromise. This threatens the confidentiality, integrity, and availability of the document management platform and any connected systems, requiring immediate leadership attention due to the potential for privilege escalation and data breach.
Restrict access to workflow endpoints via network segmentation or API gateway; enforce least privilege by minimizing ROLE_USER accounts; deploy WAF to inspect and block malicious script payloads; enable detailed logging and alerting for workflow-related activities.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in OpenKM Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) allows authenticated admi
Authenticated SQL injection in OpenKM Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) lets administrative
Cross-site request forgery (CSRF) vulnerability in servlet/admin/AuthServlet.java in OpenKM 5.1.7 and other versions bef
OpenKM 6.3.2 through 6.3.7 allows an attacker to upload a malicious JSP file into the /okm:root directories and move tha
Path traversal in OpenKM's administrative scripting interface exposes arbitrary server-side files to authenticated admin
A Cross-Site Request Forgery (CSRF) vulnerability was discovered in OpenKM Community Edition on or before version 6.3.12
A Stored Cross-Site Scripting (XSS) vulnerability exists in OpenKM version 7.1.40 (dbb6e88) With Professional Extension
OpenKM Community Edition in its 6.3.10 version and before was using XMLReader parser in XMLTextExtractor.java file witho
admin/Auth in OpenKM 5.1.7 and other versions before 5.1.8-2 does not properly enforce privileges for changing user role
A vulnerability was found in OpenKM up to 6.3.11 and classified as problematic. Rated medium severity (CVSS 5.5), this v
Cross-site scripting (XSS) vulnerability in OpenKM before 6.4.19 allows remote authenticated users to inject arbitrary w
OpenKM Community Edition 6.3.12 is vulnerable to stored cross-site scripting (XSS) in the user account creation interfac
EUVD-2026-125271
GHSA-hxjr-x98w-qvf8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB