Arbitrary file upload in Remyandrade Modern Image Gallery App

CVE-2025-70457

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.

Vulnerability class: Unrestricted File Upload

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.009 (58.7th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 59th percentile — 58.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-70457: held from 0.008 to 0.009.

EPSS over last 30 days · oldest: 0.008 · newest: 0.009 · change: +0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-70457?
CVE-2025-70457 is a critical-severity vulnerability in Remyandrade Modern Image Gallery App, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2026-01-23.
How severe is CVE-2025-70457?
Critical severity. CVSS v3 base score is 9.8 out of 10.