Critical severity9.8NVD Advisory· Published Jan 23, 2026· Updated Jun 17, 2026
CVE-2025-70457
CVE-2025-70457
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3(expand)+ 1 more
- (no CPE)
- (no CPE)range: = 1.0
- cpe:2.3:a:remyandrade:modern_image_gallery_app:1.0:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
2- github.com/ismaildawoodjee/vulnerability-research/security/advisories/GHSA-8xq6-hjhw-4983nvdExploitThird Party Advisory
- www.sourcecodester.com/php/18572/modern-image-gallery-app-using-php-and-mysql-source-code.htmlnvdThird Party Advisory
News mentions
0No linked articles in our index yet.