Description
A flaw has been found in diem-project diem up to 5.1.3. The impacted element is the function dmOs::join of the file dmFrontPlugin/modules/dmCodeEditor/actions/actions.class.php of the component dmCodeEditor. Executing a manipulation can lead to path traversal. The attack can be launched remotely. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-10-19
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Remote Path Traversal
Action: Patch or Mitigate
AI Analysis

Impact

A flaw in the diem project’s dmCodeEditor component allows a remote attacker to manipulate the dmOs::join function in actions.class.php so that a requested path can traverse outside the intended directory. When the attacker supplies crafted input, the file path resolution can be subverted, leading to disclosure or modification of sensitive files on the server. The weakness is a classic path traversal flaw identified as CWE‑22.

Affected Systems

The vulnerability affects instances of diem project’s diem software up to version 5.1.3. It is present in the dmFrontPlugin/modules/dmCodeEditor/actions/actions.class.php file and impacts all deployments that include the dmCodeEditor module in that release range.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate impact. No EPSS value is available, and the vulnerability is not listed in CISA’s KEV catalog. The flaw can be exploited remotely—an attacker with internet access can construct a request directing the application to resolve an over‑oriented path. Exploit code has been published and is potentially usable by adversaries who have discovered the issue. The exploit does not appear to require local privileges or administrative access to the underlying operating system, but it can still allow unauthorized file access on the web server’s filesystem.

Generated by OpenCVE AI on October 19, 2026 at 12:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check whether a newer release of diem with the dmCodeEditor module has been issued, and apply that update if available.
  • If an update cannot be applied, disable or remove the dmCodeEditor module from the application, or restrict its usage to trusted users only.
  • Implement server‑side path validation to ensure any file paths resolved by dmOs::join stay strictly within a predetermined safe directory and reject any paths containing '..' components.
  • Enable comprehensive logging for file access and monitor logs for anomalous traversal attempts or unexpected file reads or writes.

Generated by OpenCVE AI on October 19, 2026 at 12:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
Description A flaw has been found in diem-project diem up to 5.1.3. The impacted element is the function dmOs::join of the file dmFrontPlugin/modules/dmCodeEditor/actions/actions.class.php of the component dmCodeEditor. Executing a manipulation can lead to path traversal. The attack can be launched remotely. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title diem-project diem dmCodeEditor actions.class.php join path traversal
First Time appeared Diem-project
Diem-project diem
Weaknesses CWE-22
CPEs cpe:2.3:a:diem-project:diem:*:*:*:*:*:*:*:*
Vendors & Products Diem-project
Diem-project diem
References
Metrics cvssV2_0

{'score': 5.8, 'vector': 'AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 4.7, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Diem-project Diem
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-19T11:30:20.613Z

Reserved: 2026-10-19T05:14:21.124Z

Link: CVE-2026-112138

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-19T12:17:01.383

Modified: 2026-10-19T12:17:01.383

Link: CVE-2026-112138

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T12:30:14Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')