CVE-2026-42785
OpenKM 6.3.12 Remote Code Execution via Administrative Scripting
- State
- Published
- Severity
- 8.6 High
- Published
- May 26, 2026
- Updated
- May 26, 2026
- Reserved
- Apr 29, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.6 High | 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 | VulnCheck |
| 3.1 | 7.2 High | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
OpenKM Community EditionOpenkm |
|
OpenKM Professional EditionOpenkm |
|
References
- ExploitDB-52520exploit
- Official Product Homepageproduct
- Product Referenceproduct
- Vulnerability Advisoryvendor-advisory
- Proof-of-Concept Toolkitproduct
- Nuclei Detection Templateproduct
- VulnCheck Advisory: OpenKM 6.3.12 Remote Code Execution via Administrative Scriptingthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.