Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42785: Improper Control of Generation of Code ('Code Injection') in Openkm OpenKM Community Edition

0
High
VulnerabilityCVE-2026-42785cvecve-2026-42785
Published: Tue May 26 2026 (05/26/2026, 14:08:51 UTC)
Source: CVE Database V5
Vendor/Project: Openkm
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/26/2026, 14:47:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses