cvedb.io
CVE-2025-70457
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2026-01-23T22:16:15.243 · Last modified 2026-06-17T10:03:20.180

Summary

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 products

remyandrade — modern_image_gallery_app

Does this affect you?

Add your gear to cvedb and we'll alert you only when remyandrade ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.