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

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-05-26T14:08:51.032Z
- Modified: 2026-10-06T22:10:00.247Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Openkm OpenKM Community Edition: up to 6.3.12
- Openkm OpenKM Professional Edition: up to 7.1.47

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.exploit-db.com/exploits/52520> (exploit)
- <https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits> (exploit, product)
- <https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-remote-code-execution> (exploit, product)
- <https://www.openkm.com/> (product)
- <https://hub.docker.com/r/openkm/openkm-ce> (product)
- <https://terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs> (vendor-advisory)
- <https://www.vulncheck.com/advisories/openkm-remote-code-execution-via-administrative-scripting> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-42785](https://www.cve.org/CVERecord?id=CVE-2026-42785), CVE Terms of Use, modified 2026-05-26
- NVD: [CVE-2026-42785](https://nvd.nist.gov/vuln/detail/CVE-2026-42785), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-42785 · Whole record: https://cve.day/CVE-2026-42785.json · Rebuilt by cve.day 2026-11-25T22:59:22.324Z
