Skip to main content

OpenKM CVE-2026-42785

| EUVD-2026-31835 HIGH
Code Injection (CWE-94)
2026-05-26 VulnCheck GHSA-w8q9-g33h-9x9m
8.6
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
8.6 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
X

Lifecycle Timeline

2
Analysis Generated
Jun 08, 2026 - 10:01 vuln.today
CVSS changed
May 26, 2026 - 15:22 NVD
7.2 (HIGH) 8.6 (HIGH)

DescriptionCVE.org

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.

AnalysisAI

Remote code execution in OpenKM Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) allows authenticated administrators to execute arbitrary Java/BeanShell code via the /admin/Scripting endpoint using the action=Evaluate parameter. Publicly available exploit code exists (Exploit-DB 52520 and a Nuclei template from Terra System Labs), though no active exploitation has been confirmed in CISA KEV; EPSS sits at 0.42% (62th percentile), reflecting moderate-but-not-widespread interest.

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Recon
Identify exposed OpenKM admin login
Delivery
Obtain admin credentials (reuse/phish/default)
Exploit
Authenticate to /admin/Scripting
Install
POST BeanShell payload with action=Evaluate
C2
JVM executes arbitrary Java/OS commands
Execute
Establish reverse shell as app-server user
Impact
Exfiltrate documents and pivot internally

Vulnerability AssessmentAI

Exploitation Exploitation requires (1) network reachability to the OpenKM web interface, specifically the /admin/Scripting endpoint, and (2) valid credentials for an account in the OpenKM administrator role (CVSS PR:H) - there is no separate token, CSRF defence, or out-of-band approval gating the Evaluate action. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:N rates this 8.6 because exploitation is network-reachable with no user interaction and yields total confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H), but the PR:H requirement - full administrator credentials - is the dominant limiting factor and aligns with SSVC's 'Automatable: no' classification. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker who has obtained OpenKM administrator credentials - through phishing, password reuse, an exposed default install, or credential stuffing against an internet-facing instance - sends an authenticated POST to /admin/Scripting with action=Evaluate and a BeanShell payload such as Runtime.getRuntime().exec("...") to spawn a reverse shell as the application server user. Because a working Exploit-DB module (52520) and a ready-to-run Nuclei template are publicly available, weaponization requires no original research; from initial shell the attacker can read or exfiltrate the entire document repository, tamper with stored files, and pivot into the underlying database or host network.
Remediation No vendor-released patch identified at time of analysis - the provided references include the vendor site and third-party advisories but do not name a fixed Community or Professional Edition build, so operators should monitor https://www.openkm.com/ and the Terra System Labs and VulnCheck advisories for a patched release announcement. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Identify all OpenKM Community Edition 6.3.12 and earlier, and Professional Edition 7.1.47 and earlier instances in your environment; restrict network access to the /admin/Scripting endpoint to dedicated administrative networks only; enable audit logging for all administrator activities. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-42785 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy