CVE-2025-70457
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.
Published:Jan 23, 2026
Last Modified:Jan 30, 2026
EPS:Jan 23, 2026
EPSS Score:0.00264
CVSS Score:9.8
Affected Products
Vendor
Product
Action
Vendor
Remyandrade
Product
Modern Image Gallery App
Remyandrade
Modern Image Gallery App
Vendor
Sourcecodester
Product
Modern Image Gallery App
Sourcecodester
Modern Image Gallery App
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
