CVE-2026-42785: OpenKM 6.3.12 Remote Code Execution via Administrative Scripting

Published May 26, 2026
·
Updated

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.

Affected Software

1 affected component
OpenKM OpenKM=6.3.12

Event History

May 26, 2026
CVE Published
via MITRE·02:08 PM
Data Sourced
via MITRE·02:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-42785?

CVE-2026-42785 has a high severity score of 7.2.

2

How do I fix CVE-2026-42785?

To fix CVE-2026-42785, upgrade OpenKM to the latest version that addresses this vulnerability.

3

What type of vulnerability is CVE-2026-42785?

CVE-2026-42785 is a remote code execution vulnerability due to code injection.

4

Who is affected by CVE-2026-42785?

Authenticated administrators using OpenKM 6.3.12 are affected by CVE-2026-42785.

5

What can an attacker do with CVE-2026-42785?

An attacker can execute arbitrary Java/BeanShell code and operating system commands via the /admin/Scripting endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203