CVE-2026-42785 Details
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.
A remote code execution vulnerability has been identified in OpenKM versions 6.3.12 and 7.1.47 prior to 7.1.48. This vulnerability allows authenticated administrators to execute arbitrary Java/BeanShell code through the '/admin/Scripting' endpoint. Exploitation involves submitting malicious scripts with the 'action=Evaluate' parameter, which executes operating system commands within the context of the OpenKM application server.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 26, 2026CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits | [email protected] | BundleExploitRemedy |
| https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-remote-code-execution | [email protected] | Broken LinkExploit |
| https://hub.docker.com/r/openkm/openkm-ce | [email protected] | ProductVendor |
| https://terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs | [email protected] | BundleExploitRemedyTechnical Analysis |
| https://www.exploit-db.com/exploits/52520 | [email protected] | BundleExploit |
| https://www.openkm.com/ | [email protected] | Vendor |
| https://www.vulncheck.com/advisories/openkm-remote-code-execution-via-administrative-scripting | [email protected] | AdvisoryBundleExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OpenKM | <= 6.3.12 (semver) <= 7.1.47 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |
Volerion