CVE-2025-70457: Malicious File Upload

Published Jan 23, 2026
·
Updated

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.

Affected Software

2 affected components
Sourcecodester Modern Image Gallery App=1.0
Remyandrade Modern Image Gallery App=1.0

Event History

Jan 23, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-70457?

CVE-2025-70457 is classified as a Critical severity vulnerability due to its potential for Remote Code Execution.

2

How do I fix CVE-2025-70457?

To mitigate CVE-2025-70457, ensure proper validation and sanitization of uploaded file types in the gallery/upload.php component.

3

What type of vulnerability is CVE-2025-70457?

CVE-2025-70457 is a Remote Code Execution (RCE) vulnerability.

4

Which version of the Sourcecodester Modern Image Gallery App is affected by CVE-2025-70457?

CVE-2025-70457 affects version 1.0 of the Sourcecodester Modern Image Gallery App.

5

What component is vulnerable in CVE-2025-70457?

The vulnerable component in CVE-2025-70457 is the gallery/upload.php.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203