{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42785","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-04-29T15:52:17.950Z","datePublished":"2026-05-26T14:08:51.032Z","dateUpdated":"2026-05-26T16:20:15.493Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-05-26T14:08:51.032Z"},"datePublic":"2026-01-17T00:00:00.000Z","title":"OpenKM 6.3.12 Remote Code Execution via Administrative Scripting","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94","type":"CWE"}]}],"affected":[{"vendor":"Openkm","product":"OpenKM Community Edition","versions":[{"version":"0","lessThanOrEqual":"6.3.12","status":"affected","versionType":"custom"}],"defaultStatus":"unknown"},{"vendor":"Openkm","product":"OpenKM Professional Edition","versions":[{"version":"0","lessThanOrEqual":"7.1.47","status":"affected","versionType":"custom"}],"defaultStatus":"unknown"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:openkm:openkm:*:*:*:*:community:*:*:*","versionEndIncluding":"6.3.12"},{"vulnerable":true,"criteria":"cpe:2.3:a:openkm:openkm:*:*:*:*:professional:*:*:*","versionEndIncluding":"7.1.47"}]}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.6,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"references":[{"url":"https://www.exploit-db.com/exploits/52520","name":"ExploitDB-52520","tags":["exploit"]},{"url":"https://www.openkm.com/","name":"Official Product Homepage","tags":["product"]},{"url":"https://hub.docker.com/r/openkm/openkm-ce","name":"Product Reference","tags":["product"]},{"url":"https://terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs","name":"Vulnerability Advisory","tags":["vendor-advisory"]},{"url":"https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits","name":"Proof-of-Concept Toolkit","tags":["product"]},{"url":"https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-remote-code-execution","name":"Nuclei Detection Template","tags":["product"]},{"name":"VulnCheck Advisory: OpenKM 6.3.12 Remote Code Execution via Administrative Scripting","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/openkm-remote-code-execution-via-administrative-scripting"}],"credits":[{"lang":"en","value":"Terra System Labs Pvt. Ltd.","type":"finder"}],"x_generator":{"engine":"vulncheck"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-26T16:20:05.567957Z","id":"CVE-2026-42785","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-05-26T16:20:15.493Z"}}]}}