Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-70457: A Remote Code Execution (RCE) vulnerability exists in Sourcecodester Modern Image Gallery App v1.0 within the

62
This week
CRITICAL 9.8REMOTEDOWNGRADE

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 score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.9% (top 40%)
CISA exploited listNo
WeaknessCWE-434
Published2026-01-23
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: remyandrade

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

remyandrade modern image gallery app DOWNGRADE
Affected: 1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.0
1. Check installed version
apt-cache policy modern-image-gallery-app || rpm -q modern-image-gallery-app || modern-image-gallery-app --version
2. No fixed release: DOWNGRADE to a release before 1.0 (Debian / Ubuntu)
apt-cache madison modern-image-gallery-app sudo apt install modern-image-gallery-app=<VERSION_BEFORE_1.0> sudo apt-mark hold modern-image-gallery-app
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list modern-image-gallery-app sudo dnf downgrade modern-image-gallery-app-<VERSION_BEFORE_1.0> sudo dnf versionlock add modern-image-gallery-app
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · proftpd · FIXED · 1.3.9e-2.fc46 · FEDORA-2026-fcb0a25c2f · source
sudo dnf upgrade --advisory=FEDORA-2026-fcb0a25c2f

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
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

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.