CVE-2025-70457: A Remote Code Execution (RCE) vulnerability exists in Sourcecodester Modern Image Gallery App v1.0 within the
CVE-2025-70457 is a critical-severity flaw (CVSS 9.8) affecting modern image gallery app. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2026-01-23 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/ismaildawoodjee/vulnerability-research/security/advisories/GHSA-8xq6-hjhw-4983
- Write-up: www.sourcecodester.com/php/18572/modern-image-gallery-app-using-php-and-mysql-source-code.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-70457?
modern image gallery app: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-70457 being exploited?
CVE-2025-70457 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-70457 affect?
CVE-2025-70457 affects modern image gallery app. Severity is critical (CVSS 9.8). 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 pre
How urgent is CVE-2025-70457?
Priority 62/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-3695 MEDIUM 6.5 DOWNGRADE A vulnerability has been found in SourceCodester Modern Image Gallery App 1.0
- CVE-2026-3070 MEDIUM 4.3 DOWNGRADE A vulnerability was detected in SourceCodester Modern Image Gallery App 1.0