Skip to main content

Modern Image Gallery App CVE-2025-70457

CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-01-23 cve@mitre.org
9.8
CVSS 3.1 · NVD
View

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.

Impact

CVSS 9.8 with PoC. Sourcecodester applications are frequently used as learning projects and sometimes deployed in production without proper hardening.

Exploit ScenarioDerived

An attacker uploads a PHP web shell through the gallery upload endpoint, then accesses it to execute arbitrary commands on the server.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 12, 2026

Sourcecodester Modern Image Gallery App v1.0 has an arbitrary file upload in the gallery endpoint allowing unauthenticated remote code execution.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:54 CVSS 9.8

Unrestricted file upload in Sourcecodester Image Gallery enables unauthenticated RCE.

RemediationAI

Do not use this application in production. If deployed, restrict file upload types and disable PHP execution in upload directories.

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

The gallery/upload endpoint in Modern Image Gallery App v1.0 has a CWE-434 unrestricted file upload that accepts PHP files, which are then accessible and executable through the web server.

Know when Modern Image Gallery App 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 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

2
PoC Detected
Jan 30, 2026 - 17:59 vuln.today
Public exploit code
CVE Published
Jan 23, 2026 - 22:16 nvd
CRITICAL 9.8

DescriptionCVE.org

A Remote Code Execution (RCE) vulnerability exists in Sourcecodester Modern Image Gallery App v1.0 within the gallery/upload.php component. The application fails to properly validate uploaded file contents. Additionally, the application preserves the user-supplied file extension during the save process. This allows an unauthenticated attacker to upload arbitrary PHP code by spoofing the MIME type as an image, leading to full system compromise.

Executive ViewAI

Why It Matters

A critical vulnerability in Modern Image Gallery App (versions up to 1.0) allows attackers to upload malicious files without restriction, potentially enabling remote code execution and complete system compromise. With a public exploit available and no patch released, any organization running this application is at immediate risk of data breach, service disruption, and lateral network movement.

Business Impact: Severe
Compensating Controls

Deploy Web Application Firewall (WAF) rules to block upload endpoints or restrict file types to images only (whitelist: .jpg, .png, .gif). Implement strict file extension and MIME-type validation on upload handlers. Disable the gallery upload feature entirely if not critical to operations. Apply network segmentation to limit lateral movement from compromised gallery instances. Monitor upload directories for suspicious file execution attempts. Enforce application-level sandboxing or containerization to restrict file execution capabilities.

Threat Intelligence Overview

EPSS Score
0.3%
Top 50% exploitable
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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

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

Affected Products (CPE)CVE.org

cpe:2.3:a:remyandrade:modern_image_gallery_app:1.0:*:*:*:*:*:*:*

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