Skip to main content

Diem CMS CVE-2026-82679

| EUVDEUVD-2026-68460 LOW
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-31 VulDB GHSA-g23j-pp4q-43hx
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege CMS account
  2. Delivery
    Access Widget Editor media upload form
  3. Exploit
    Upload PHP webshell via dmWidgetContentBaseMediaForm.php
  4. Execution
    Identify web-accessible path of uploaded file
  5. Persist
    Request uploaded file URL to trigger PHP execution
  6. Impact
    Execute arbitrary OS commands on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

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 low-privilege user account on the target Diem CMS instance (confirmed by PR:L in the CVSS 4.0 vector). The attacker must have access to the Widget Editor component within dmFrontPlugin. Successful escalation to remote code execution is additionally conditional on: (1) the web server serving uploaded files from a web-accessible directory without blocking PHP execution (e.g., no 'php_flag engine off' or equivalent deny rule in the upload path), and (2) the web server being configured to parse uploaded files as PHP (default behavior for most Apache/nginx+PHP-FPM stacks). Factors limiting exploitation: authentication is required - unauthenticated exploitation is not supported by the available CVSS vector; the realistic RCE impact depends on server configuration rather than the vulnerability alone; Diem is a niche product with limited deployment footprint, reducing the population of reachable targets.

Impact

The provided CVSS 4.0 base vector scores impacts at VC:L/VI:L/VA:L, yielding a base score of 5.3 - this likely underestimates real-world impact for CWE-434 in a PHP application. If the upload directory is web-accessible and PHP execution is not explicitly blocked (e.g., via .htaccess deny rules or web server configuration), the realistic impact is full server compromise (VC:H/VI:H/VA:H), not Low. This discrepancy should be verified against the actual upload path configuration and web server policy. The E:P (proof-of-concept exploit exists) modifier in the provided CVSS 4.0 vector confirms public exploit code availability. No CISA KEV listing is present, so active widespread exploitation is not confirmed at time of analysis - but the low technical bar (public POC, PR:L) makes opportunistic exploitation plausible. The absence of any vendor response or patch significantly elevates risk for organizations running this software.

Exploit ScenarioDerived

An attacker with a low-privilege account on a publicly accessible Diem CMS instance submits a crafted HTTP POST request to the Widget Editor media upload endpoint, uploading a PHP webshell (e.g., a file named shell.php containing system() execution code). The server stores the file without validating the extension. The attacker then browses to the uploaded file's URL (e.g., /uploads/media/shell.php), causing the web server to execute the PHP code and return command output, granting full server-side code execution. A public proof-of-concept demonstrating this technique is available via the GitHub issue referenced in the CVE disclosure.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 31, 2026

Unrestricted file upload in diem-project/diem through version 5.1.3 exposes the Widget Editor to remote authenticated attackers who can upload arbitrary file types - including executable PHP scripts - via the media form handler dmWidgetContentBaseMediaForm.php. If uploaded files reside in a web-accessible directory without server-enforced execution restrictions, this vulnerability escalates from a file-write primitive to full remote code execution. A public proof-of-concept is available through a GitHub issue; the project has not responded to the disclosure and no patch has been released.

RemediationAI

No vendor-released patch is available at time of analysis - the diem-project maintainer has not responded to the issue filed at https://github.com/diem-project/diem/issues/448. For compensating controls: configure the web server (Apache/nginx) to deny execution of PHP scripts in the media upload directory - for Apache, add an .htaccess rule with 'php_flag engine off' or deny .php/.phtml execution in the relevant Location block; note this may break any widget functionality that depends on server-side processing of uploaded files. Restrict access to the Widget Editor feature to trusted administrative accounts only using application-level role controls, effectively raising the authentication bar from PR:L to PR:H and limiting the exposed attack surface. If the Widget Editor is not actively used, disable or remove the dmFrontPlugin entirely. Monitor https://github.com/diem-project/diem/ for any future patch releases. Organizations with internet-facing Diem deployments should treat this as a high-priority configuration hardening task until a patch is available.

Affected VersionsENISA

diem 5.1.3
diem 5.1.1
diem 5.1.0
diem 5.1.2

Affected Packages

euvd diem no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Diem is a Symfony-based PHP content management framework. The vulnerable code path is the Widget Editor's media upload form, located at dmFrontPlugin/lib/dmWidget/media/dmWidgetContentBaseMediaForm.php, within the front plugin subsystem. The affected product is identified by CPE cpe:2.3:a:diem-project:diem:*:*:*:*:*:*:*:*. CWE-434 (Unrestricted Upload of File with Dangerous Type) describes the root cause: the application fails to validate or reject dangerous file extensions (e.g., .php, .phtml, .phar) during upload processing. In PHP web applications, this class of flaw is critical when the upload destination is a web-accessible path, as the web server will execute uploaded PHP files on request, converting a file-write issue into arbitrary server-side code execution.

Know when Diem 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 (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 9.9 CRITICAL

CWE-434 in a PHP web app typically enables webshell upload and execution, yielding full server compromise with scope change; PR:L per confirmed CVSS 4.0 vector.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

3
Severity Changed
Aug 31, 2026 - 11:22 NVD
MEDIUM LOW
CVSS changed
Aug 31, 2026 - 11:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 31, 2026 - 10:30 cve.org
MEDIUM 5.3

DescriptionCVE.org

A security flaw has been discovered in diem-project diem up to 5.1.3. The impacted element is an unknown function of the file dmFrontPlugin/lib/dmWidget/media/dmWidgetContentBaseMediaForm.php of the component Widget Editor. Performing a manipulation results in unrestricted upload. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Rare
niche Symfony-based PHP CMS with minimal known enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

More in Diem

View all
CVE-2026-86183 MEDIUM POC
5.5 Sep 06

Insecure direct object reference (IDOR) in the dmWidget component of diem-project/diem (versions through 5.1.3) allows u

CVE-2026-112041 LOW POC
2.9 Oct 19

Cryptographically weak pseudo-random number generation in the PHP CMS Diem's dmString::random() helper can produce predi

CVE-2026-112037 LOW POC
2.9 Oct 19

Improper certificate validation in the Google Analytics Client bundled with the Diem PHP framework (dmCorePlugin/lib/ven

CVE-2026-112040 LOW POC
2.1 Oct 19

An open redirect in the Diem PHP framework's Sign-In component (dmCorePlugin dmUserPlugin) allows remote attackers to re

CVE-2026-112030 LOW POC
2.1 Oct 18

Default-password exposure in Diem CMS through 5.1.3 allows remote attackers to access unhardened installations whose cre

CVE-2026-86182 LOW POC
2.1 Sep 06

Cross-site request forgery in diem-project/diem up to version 5.1.3 allows remote attackers to trigger unauthorized cons

CVE-2026-112042 LOW POC
2.0 Oct 19

Cross-site scripting in the dmWidget link-rendering component of Diem CMS allows authenticated low-privilege users to in

CVE-2026-112138 LOW POC
2.0 Oct 19

Path traversal in Diem through 5.1.3 lets an authenticated user with high backend privileges abuse the dmCodeEditor acti

CVE-2026-82678 LOW POC
2.0 Aug 31

OS command injection in the Diem CMS Administrative Console (diem-project/diem ≤ 5.1.3) allows authenticated administrat

CVE-2026-112039 LOW POC
1.9 Oct 19

Cross-site scripting in the Diem PHP CMS administrative console lets a user who already holds high-privilege console acc

CVE-2026-112038 LOW POC
1.9 Oct 19

Cross-site scripting in the Diem admin plugin's Version Check Service lets a high-privileged authenticated attacker supp

CVE-2026-112029 LOW POC
1.1 Oct 18

Weak SHA1-based password hashing in the Diem PHP framework's PluginDmUser handler (lib/model/doctrine/PluginDmUser.class

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