Quick answers
- Is CVE-2026-112138 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-112138 being exploited in the wild.
- How severe is CVE-2026-112138?
- Medium severity, with a CVSS score of 4.7, published 19 October 2026.
- Which products and versions are affected?
- Diem-Project Diem up to 5.1.3.
- Is there a fix for CVE-2026-112138?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-112138 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2026-112138?
- Check whether you run Diem-Project Diem at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability exists in dmCodeEditor's actions.class.php, where user-supplied file paths are concatenated with the project root but the boundary check uses the uncanonicalized string before filesystem operations. An attacker with the code_editor credential can inject ../ sequences that are resolved by the OS after the string-prefix validation, bypassing the isInProject() check. Both file read and file write operations are affected, allowing disclosure and modification of files readable/writable by the PHP process.
Affected products
- diem-project Diem up to 5.1.3
Timeline
- 2026-09-01: disclosed
- 2026-10-19: advisory