CVE-2026-42785
published high CVSS 4.0 · 8.6OpenKM 6.3.12 Remote Code Execution via Administrative Scripting
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Openkm | OpenKM Community Edition | 0 through 6.3.12 (affected · custom)Default: unknown | VulnCheck · cna |
| Openkm | OpenKM Professional Edition | 0 through 7.1.47 (affected · custom)Default: unknown | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
7- Proof-of-Concept Toolkit https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits
- Nuclei Detection Template https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-remote-code-execution
- Product Reference https://hub.docker.com/r/openkm/openkm-ce
- Vulnerability Advisory https://terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs
- ExploitDB-52520 https://www.exploit-db.com/exploits/52520
- Official Product Homepage https://www.openkm.com/
- VulnCheck Advisory: OpenKM 6.3.12 Remote Code Execution via Administrative Scripting https://www.vulncheck.com/advisories/openkm-remote-code-execution-via-administrative-scripting
Provider assertions
2VulnCheck · cna
OpenKM 6.3.12 Remote Code Execution via Administrative Scripting
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 541fd79463a7833e1e9af7a55de489e8b61f13380ab7ab7c1f42cdd7d780a59b
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record