Skip to main content

OpenKM EUVDEUVD-2026-31833

| CVE-2026-41917 MEDIUM
Path Traversal (CWE-22)
2026-05-26 VulnCheck GHSA-hf34-4jm2-f8qq
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid OpenKM admin credentials
  2. Delivery
    Authenticate to /admin/Scripting web endpoint
  3. Exploit
    Inject absolute filesystem path via fsPath parameter with action=Load
  4. Execution
    Server reads target file without path restriction
  5. Persist
    Parse returned file contents for credentials or key material
  6. Impact
    Leverage 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

OpenKM Professional Edition 0 ≤7.1.47
OpenKM Community Edition 0 ≤6.3.12

Affected Packages

euvd openkm_community_edition no fix
euvd openkm_professional_edition no fix

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 26, 2026 - 15:22 NVD
4.9 (MEDIUM) 6.9 (MEDIUM)

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

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Openkm

View all
CVE-2026-42785 HIGH POC
8.6 May 26

Remote code execution in OpenKM Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) allows authenticated admi

CVE-2026-42425 HIGH POC
8.6 May 26

Authenticated SQL injection in OpenKM Community Edition (≤6.3.12) and Professional Edition (≤7.1.47) lets administrative

CVE-2012-2316 MEDIUM POC
6.8 Sep 09

Cross-site request forgery (CSRF) vulnerability in servlet/admin/AuthServlet.java in OpenKM 5.1.7 and other versions bef

CVE-2019-11445 HIGH POC
7.2 Apr 22

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

CVE-2024-35475 MEDIUM POC
6.4 May 22

A Cross-Site Request Forgery (CSRF) vulnerability was discovered in OpenKM Community Edition on or before version 6.3.12

CVE-2023-50072 MEDIUM POC
5.4 Jan 13

A Stored Cross-Site Scripting (XSS) vulnerability exists in OpenKM version 7.1.40 (dbb6e88) With Professional Extension

CVE-2022-2131 CRITICAL
9.8 Jul 25

OpenKM Community Edition in its 6.3.10 version and before was using XMLReader parser in XMLTextExtractor.java file witho

CVE-2012-2315 MEDIUM POC
4.0 Sep 09

admin/Auth in OpenKM 5.1.7 and other versions before 5.1.8-2 does not properly enforce privileges for changing user role

CVE-2022-3969 MEDIUM POC
5.5 Nov 13

A vulnerability was found in OpenKM up to 6.3.11 and classified as problematic. Rated medium severity (CVSS 5.5), this v

CVE-2014-8957 MEDIUM POC
5.4 Oct 06

Cross-site scripting (XSS) vulnerability in OpenKM before 6.4.19 allows remote authenticated users to inject arbitrary w

CVE-2025-57244 MEDIUM POC
5.4 Nov 05

OpenKM Community Edition 6.3.12 is vulnerable to stored cross-site scripting (XSS) in the user account creation interfac

CVE-2022-40317 MEDIUM POC
5.4 Sep 09

OpenKM 6.3.11 allows stored XSS related to the javascript: substring in an A element. Rated medium severity (CVSS

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