Skip to main content

LeptonCMS CVE-2025-56704

HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2025-12-09 cve@mitre.org
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege LeptonCMS account
  2. Delivery
    Access file upload feature
  3. Exploit
    Upload crafted ZIP/PHP payload
  4. Execution
    Bypass missing type validation
  5. Persist
    Request uploaded file URL
  6. Impact
    Execute PHP webshell as web 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 authenticated LeptonCMS account (CVSS PR:L) with access to a file-upload feature that accepts ZIP or PHP files; the specific prerequisite named in the description is the ability to upload a specially crafted ZIP/PHP file into LeptonCMS 7.3.0's upload handler, which lacks proper file-type validation, plus a deployment where the uploaded file lands in a web-accessible, PHP-executing directory. Limiting factors: the attacker must already be authenticated (no anonymous exploitation), the target must be running the specific 7.3.0 version, and the upload destination must permit PHP execution - hardened deployments that disable PHP in upload directories or block dangerous extensions at a proxy substantially reduce exploitability. No user interaction by a victim is required (UI:N).

Impact

The CVSS 3.1 score is 8.8 (High) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, reflecting network reach, low complexity, only low privileges required, no user interaction, and full compromise of confidentiality, integrity and availability of the host application. The signals partly diverge: publicly available exploit code raises practical exploitability, but the EPSS probability is low (0.66%, 47th percentile) and the CVE is not in CISA KEV, so there is no confirmation of real-world exploitation - consistent with a newly disclosed post-auth RCE that is easy to weaponize but gated behind authentication. The key limiting factor is PR:L: an attacker must first obtain a valid account, which tempers the AV:N/AC:L profile. Net assessment: a genuine high priority for any internet-exposed LeptonCMS 7.3.0 with untrusted or self-registered users, but lower urgency where CMS accounts are tightly controlled.

Exploit ScenarioDerived

An attacker who has registered or been granted a low-privilege LeptonCMS 7.3.0 account logs in and uses an upload feature to submit a ZIP archive containing a PHP webshell (or a direct .php file), which the application stores in a web-reachable path without validating its type. The attacker then requests that file's URL, executing the payload and gaining code execution on the server. Publicly available proof-of-concept documentation demonstrates the technique, and the low attack complexity (AC:L, UI:N) makes it straightforward to reproduce.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 05, 2026

Arbitrary code execution in LeptonCMS 7.3.0 lets an authenticated attacker upload a crafted ZIP or PHP file that bypasses the application's missing file-type validation and runs as server-side PHP. Publicly available exploit code (three PoC write-ups) exists, though the flaw is not listed in CISA KEV and EPSS is low (0.66%, 47th percentile), indicating no evidence of widespread active exploitation yet. Exploitation requires a valid low-privilege account (PR:L), placing this in the post-authentication RCE category.

RemediationAI

No vendor-released patch or fixed version is identified in the available data, so no exact upgrade target can be cited. As specific compensating controls: restrict who holds LeptonCMS accounts and disable self-registration so the required PR:L foothold cannot be obtained by anonymous users; remove or restrict access to the media/add-on upload and ZIP-import features for all but trusted administrators (trade-off: blocks legitimate module and media management); enforce an extension and MIME allow-list at a reverse proxy or WAF and reject .php/.phtml/.php5 and archive contents (trade-off: may block legitimate archive uploads); and configure the web server to deny PHP execution in upload/media directories via server config, e.g. disabling the PHP handler for those paths (trade-off: breaks any feature that legitimately serves generated PHP from those directories). Consult the vendor (LeptonCMS project) for an official fix before restoring full upload functionality. The only external references currently available are the PoC documents at https://github.com/Kayi626/Vulns.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

LeptonCMS is a PHP-based content management system; the affected build is pinpointed by CPE cpe:2.3:a:lepton-cms:leptoncms:7.3.0. The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type): the upload handler does not enforce an allow-list on file extension or content, so a PHP script - or a PHP payload packed inside a ZIP archive that the application extracts into a web-accessible directory - is stored where the PHP interpreter will execute it. Because CMS upload/media and add-on/module import features routinely accept ZIP archives, the ability to smuggle executable PHP through the archive path is the pivotal weakness that turns an ordinary file upload into remote code execution.

Know when Leptoncms 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

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable upload endpoint (AV:N, AC:L) requires an authenticated low-privilege account (PR:L), no user interaction, and yields full webshell RCE compromising C/I/A within the same host scope.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/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 NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionNVD

LeptonCMS version 7.3.0 contains an arbitrary file upload vulnerability, which is caused by the lack of proper validation for uploaded files. An authenticated attacker can exploit this vulnerability by uploading a specially crafted ZIP/PHP file to execute arbitrary code.

Executive ViewAI

Why It Matters

LeptonCMS 7.3.0 contains a critical file-upload vulnerability allowing authenticated users to execute arbitrary server code through ZIP or PHP file uploads that bypass validation. This enables complete server compromise for organizations running this version. No vendor-released patch identified at time of analysis, requiring immediate compensating controls to reduce exposure.

Business Impact: High
Compensating Controls

Disable or restrict file-upload functionality in LeptonCMS 7.3.0; implement WAF rules to block ZIP and PHP file uploads; enforce strict MIME-type validation at application level; segment LeptonCMS servers from critical production networks; audit and revoke upload permissions for non-essential users; enable detailed file-operation and upload logging.

Threat Intelligence Overview

EPSS Score
0.7%
Top 53% exploitable
Prevalence
Low
niche open-source PHP CMS with limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

cpe:2.3:a:lepton-cms:leptoncms:7.3.0:*:*:*:*:*:*:*

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