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.
Configurations

Configuration 1 (hide)

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

History

30 Jan 2026, 17:59

Type Values Removed Values Added
First Time Remyandrade
Remyandrade modern Image Gallery App
CPE cpe:2.3:a:remyandrade:modern_image_gallery_app:1.0:*:*:*:*:*:*:*
References () https://github.com/ismaildawoodjee/vulnerability-research/security/advisories/GHSA-8xq6-hjhw-4983 - () https://github.com/ismaildawoodjee/vulnerability-research/security/advisories/GHSA-8xq6-hjhw-4983 - Exploit, Third Party Advisory
References () https://www.sourcecodester.com/php/18572/modern-image-gallery-app-using-php-and-mysql-source-code.html - () https://www.sourcecodester.com/php/18572/modern-image-gallery-app-using-php-and-mysql-source-code.html - Third Party Advisory

26 Jan 2026, 16:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-434

23 Jan 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-23 22:16

Updated : 2026-01-30 17:59


NVD link : CVE-2025-70457

Mitre link : CVE-2025-70457

CVE.ORG link : CVE-2025-70457


JSON object : View

Products Affected

remyandrade

  • modern_image_gallery_app
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type