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

Fri, 30 Jan 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Remyandrade
Remyandrade modern Image Gallery App
CPEs cpe:2.3:a:remyandrade:modern_image_gallery_app:1.0:*:*:*:*:*:*:*
Vendors & Products Remyandrade
Remyandrade modern Image Gallery App

Mon, 26 Jan 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 26 Jan 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-434
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Mon, 26 Jan 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester modern Image Gallery App
Vendors & Products Sourcecodester
Sourcecodester modern Image Gallery App

Fri, 23 Jan 2026 21:30:00 +0000

Type Values Removed Values Added
Description 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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-01-26T15:44:45.929Z

Reserved: 2026-01-09T00:00:00.000Z

Link: CVE-2025-70457

cve-icon Vulnrichment

Updated: 2026-01-26T15:44:14.800Z

cve-icon NVD

Status : Analyzed

Published: 2026-01-23T22:16:15.243

Modified: 2026-01-30T17:59:24.497

Link: CVE-2025-70457

cve-icon Redhat

No data.