Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid OpenKM admin credentials
-
DeliveryAuthenticate to /admin/Scripting web endpoint
-
ExploitInject absolute filesystem path via fsPath parameter with action=Load
-
ExecutionServer reads target file without path restriction
-
PersistParse returned file contents for credentials or key material
-
ImpactLeverage harvested secrets for lateral movement
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid OpenKM administrator-level account - confirmed by CVSS 4.0 PR:H. The /admin/Scripting endpoint must be network-reachable, which is consistent with the AV:N vector but represents a non-default exposure if the admin interface is properly segmented. The action=Load parameter must be accepted by the endpoint, which reflects default OpenKM behavior with no additional feature flag required. What limits exploitation: the attacker must control an administrator credential (a high bar absent prior compromise); the files readable are bounded by the OS permissions of the JVM process user, so a properly least-privileged deployment reduces the blast radius; and EPSS at 0.04% confirms this is not being mass-exploited opportunistically. The absence of CISA KEV listing further suggests current exploitation is targeted rather than widespread. |
| Impact | The CVSS 4.0 score of 6.9 reflects the network-accessible nature of the flaw (AV:N/AC:L/AT:N) but is tempered significantly by the High privilege requirement (PR:H), meaning a valid administrator account is a mandatory prerequisite - this is not a zero-authentication issue. The VC:H/VI:N/VA:N vector confirms the impact is limited to confidentiality, with no integrity or availability consequence. EPSS at 0.04% (13th percentile) corroborates low automated exploitation probability, consistent with the high-privilege barrier. However, the existence of publicly available exploit code (Exploit-DB 52520 and multiple Nuclei templates on GitHub from Terra System Labs) meaningfully raises risk in environments where admin credential hygiene is poor, credentials are shared across teams, or a prior compromise of an admin account has occurred. The Terra System Labs advisory titles this as a 'zero-day' at time of disclosure, but since it does not appear in CISA KEV, confirmed active exploitation has not been independently corroborated. The primary real-world threat is post-compromise lateral movement - an attacker who already holds admin credentials using this to harvest database passwords or PKI material for deeper access. |
| Exploit ScenarioDerived | An attacker who has compromised an OpenKM administrator account - through credential stuffing, phishing, or reuse from a prior breach - authenticates to the web interface and issues a GET or POST request to /admin/Scripting with fsPath=/etc/passwd and action=Load. The server returns the contents of the file, which the attacker parses for system usernames. The attacker then targets application configuration files at known OpenKM paths to extract database credentials, and subsequently uses those credentials to access the backend database directly. Publicly available Nuclei templates from Terra System Labs (https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits) automate this enumeration. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Path traversal in OpenKM's administrative scripting interface exposes arbitrary server-side files to authenticated administrators who supply attacker-controlled paths via the fsPath parameter at /admin/Scripting with action=Load. Both the Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) are affected, enabling exfiltration of /etc/passwd, database credential files, and JVM keystores accessible to the OpenKM process. No public exploit identified at time of analysis as a KEV entry, but publicly available exploit code exists via Exploit-DB (52520) and Terra System Labs' GitHub repository, raising the realistic risk for environments where admin credentials are shared, weak, or previously compromised.
RemediationAI
No vendor-released patch identified at time of analysis - the Terra System Labs advisory characterized this as a zero-day at disclosure, and no fixed version number appears in NVD, EUVD, or VulnCheck data. Organizations should consult the OpenKM vendor directly at https://www.openkm.com/ and monitor the VulnCheck advisory at https://www.vulncheck.com/advisories/openkm-local-file-inclusion-via-admin-scripting for patch availability. In the interim, restrict network access to the /admin/Scripting endpoint using a reverse proxy or WAF rule that blocks requests where the fsPath parameter contains absolute path prefixes (e.g., /) or traversal sequences (../); note this may disrupt legitimate administrative scripting workflows. Enforce strong, unique credentials for all OpenKM administrator accounts and enable multi-factor authentication if supported. Review the OS-level permissions of the OpenKM JVM process user and apply the principle of least privilege - running the process as a dedicated low-privilege user limits the file scope an attacker can reach even if exploitation occurs. Audit administrator account activity for anomalous use of the /admin/Scripting endpoint.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenKM is a Java-based document management system available in Community and Professional editions (CPE: cpe:2.3:a:openkm:openkm_community_edition and cpe:2.3:a:openkm:openkm_professional_edition). The vulnerability is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - 'Path Traversal'). The /admin/Scripting endpoint accepts a fsPath parameter that is passed directly to file-system read operations without adequate sanitization or path canonicalization, allowing any authenticated administrator to reference absolute filesystem paths outside the intended document repository. Because OpenKM runs as a JVM process, the accessible file scope is bounded only by the OS-level permissions of the Java process user, which in default or containerized deployments may be broad enough to reach credential stores, keystores, and system files.
Know when Openkm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenKM 6.3.12 contains a local file inclusion vulnerability in the administrative scripting interface at /admin/Scripting that allows authenticated administrators to read arbitrary files by supplying an attacker-controlled filesystem path through the fsPath parameter with action=Load. Attackers can exploit this to access sensitive files including /etc/passwd, configuration files containing database credentials, and JVM keystores accessible to the OpenKM process.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote code execution in OpenKM Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) allows authenticated admi
Authenticated SQL injection in OpenKM Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) lets administrative
Cross-site request forgery (CSRF) vulnerability in servlet/admin/AuthServlet.java in OpenKM 5.1.7 and other versions bef
OpenKM 6.3.2 through 6.3.7 allows an attacker to upload a malicious JSP file into the /okm:root directories and move tha
A Cross-Site Request Forgery (CSRF) vulnerability was discovered in OpenKM Community Edition on or before version 6.3.12
A Stored Cross-Site Scripting (XSS) vulnerability exists in OpenKM version 7.1.40 (dbb6e88) With Professional Extension
OpenKM Community Edition in its 6.3.10 version and before was using XMLReader parser in XMLTextExtractor.java file witho
admin/Auth in OpenKM 5.1.7 and other versions before 5.1.8-2 does not properly enforce privileges for changing user role
A vulnerability was found in OpenKM up to 6.3.11 and classified as problematic. Rated medium severity (CVSS 5.5), this v
Cross-site scripting (XSS) vulnerability in OpenKM before 6.4.19 allows remote authenticated users to inject arbitrary w
OpenKM Community Edition 6.3.12 is vulnerable to stored cross-site scripting (XSS) in the user account creation interfac
OpenKM 6.3.11 allows stored XSS related to the javascript: substring in an A element. Rated medium severity (CVSS
EUVD-2026-31833
GHSA-hf34-4jm2-f8qq
NVD
CVE.org
EPSS
Exploit-DB
VulDB