CVE-2026-42785 is a high-severity remote code execution vulnerability in OpenKM 6.3.12, published on 2026-05-26. The vulnerability allows authenticated administrators to execute arbitrary Java/BeanShell code through the /admin/Scripting endpoint by submitting malicious script content with an action=Evaluate parameter, resulting in operating system command execution in the context of the OpenKM application server. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no attack requirements, high privileges required, no user interaction, and high impacts to confidentiality, integrity, and availability. The vulnerability is classified as CWE-94 (Improper Control of Generation of Code). Multiple source references provide technical details, including a Terra System Labs disclosure, Exploit-DB entry, and Nuclei detection templates. The NVD status is currently 'Deferred'. No known exploitation in ransomware campaigns has been documented, and the vulnerability is not listed in CISA KEV.
CVE-2026-42425 documents an unrestricted SQL execution vulnerability in OpenKM 6.3.12, published 2026-05-26. The flaw resides in the DatabaseQuery administrative interface, where authenticated administrative users can submit arbitrary SQL statements via the qs parameter to the /admin/DatabaseQuery endpoint. This enables extraction of sensitive data including usernames and password hashes from the OKM_USER table, permission modification, or database record deletion. The CVSS 4.0 vector indicates network attack vector with low attack complexity, high privileges required, and high impacts to confidentiality, integrity, and availability. The vulnerability is classified as CWE-89 (SQL Injection). Multiple disclosure sources including Terra System Labs and VulnCheck have published technical details and detection templates. The vendor field carries low confidence requiring review, with Docker identified as a reference domain candidate. No KEV listing or known ransomware campaign use is documented.
OpenKM 6.3.12 contains a local file inclusion (LFI) vulnerability in the administrative scripting interface at /admin/Scripting. The vulnerability allows authenticated administrators to read arbitrary files by supplying an attacker-controlled filesystem path through the fsPath parameter with action=Load. This can be exploited to access sensitive files including /etc/passwd, configuration files containing database credentials, and JVM keystores accessible to the OpenKM process. The vulnerability was disclosed by Terra System Labs and published to NVD on 2026-05-26. The CVSS 4.0 vector indicates network attack vector with low attack complexity, high privileges required, and high confidentiality impact. No known exploitation in the wild or ransomware campaign use has been reported.