CVE-2026-42785: Improper Control of Generation of Code ('Code Injection') in Openkm OpenKM Community Edition
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.
AI Analysis
Technical Summary
CVE-2026-42785 is a remote code execution vulnerability in OpenKM Community Edition 6.3.12. It arises from improper control over code generation, allowing authenticated administrators to execute arbitrary Java or BeanShell code through the /admin/Scripting endpoint by leveraging the action=Evaluate parameter. This enables execution of operating system commands on the server hosting the OpenKM application, posing a significant security risk. The vulnerability has a CVSS 4.0 base score of 8.6, indicating high severity. No vendor advisory or patch information is currently available.
Potential Impact
An attacker with authenticated administrator access can execute arbitrary code on the OpenKM server, potentially leading to full system compromise, data breach, or disruption of service. The vulnerability enables execution of operating system commands, which can be leveraged to escalate privileges, move laterally, or exfiltrate sensitive information. Since it requires administrator privileges, exploitation is limited to trusted users or attackers who have already compromised an admin account.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
CVE-2026-42785: Improper Control of Generation of Code ('Code Injection') in Openkm OpenKM Community Edition
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.
CVSS v4.0
Score 8.6high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42785 is a remote code execution vulnerability in OpenKM Community Edition 6.3.12. It arises from improper control over code generation, allowing authenticated administrators to execute arbitrary Java or BeanShell code through the /admin/Scripting endpoint by leveraging the action=Evaluate parameter. This enables execution of operating system commands on the server hosting the OpenKM application, posing a significant security risk. The vulnerability has a CVSS 4.0 base score of 8.6, indicating high severity. No vendor advisory or patch information is currently available.
Potential Impact
An attacker with authenticated administrator access can execute arbitrary code on the OpenKM server, potentially leading to full system compromise, data breach, or disruption of service. The vulnerability enables execution of operating system commands, which can be leveraged to escalate privileges, move laterally, or exfiltrate sensitive information. Since it requires administrator privileges, exploitation is limited to trusted users or attackers who have already compromised an admin account.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-29T15:52:17.950Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a15af1f891d628fdc46fa02
Added to database: 5/26/2026, 2:33:03 PM
Last enriched: 5/26/2026, 2:47:48 PM
Last updated: 5/26/2026, 9:51:50 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.