VULNERABILITY INTELLIGENCE

CVE-2025-70457

CVSS score9.8 CRITICAL
EPSS probability0.91%
CISA KEVNot currently listed
Published2026-01-23
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Weakness classification

  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-434

Primary references