CVE-2026-42785: OpenKM Community Edition · Code Injection
Affects OpenKM Community EditionSource CVE Database V5
Not known to be exploited · CVSS 8.6 High.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OpenkmOpenKM Community Edition | Affected
| Fixed in– |
| OpenkmOpenKM Professional Edition | Affected
| Fixed in– |
AI-suggested
Until an official fix is released, restrict administrator access to trusted personnel only and monitor for suspicious activity related to the /admin/Scripting endpoint. Avoid exposing the administrative interface to untrusted networks. Implement strong authentication and access controls to reduce the risk of credential compromise.
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.
References
- exploit-db.com/exploits/52520 (opens in a new tab)
- openkm.com (opens in a new tab)
- hub.docker.com/r/openkm/openkm-ce (opens in a new tab)
- terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs (opens in a new tab)
- github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits (opens in a new tab)
- github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-remote-code-execution (opens in a new tab)
- vulncheck.com/advisories/openkm-remote-code-execution-via-administrative-scripting (opens in a new tab)