CVE-2025-70457

Published Jan 23, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester modern Image Gallery App
Vendors & Products Sourcecodester
Sourcecodester modern Image Gallery App
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jan 26, 2026, 3:44 PM
Reserved
Jan 9, 2026, 12:00 AM
Status
Analyzed
Published
Jan 23, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:03 AM