Home

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.

PUBLISHED Reserved 2026-01-09 | Published 2026-01-23 | Updated 2026-01-26 | Assigner mitre

References

www.sourcecodester.com/...ing-php-and-mysql-source-code.html

github.com/...search/security/advisories/GHSA-8xq6-hjhw-4983

cve.org (CVE-2025-70457)

nvd.nist.gov (CVE-2025-70457)

Download JSON