Patch Ticker
EnglishEN
Elevated

NextGEN Gallery WordPress plugin allows arbitrary file deletion

CVE-2026-118191

Logged-in users with extra rights can delete server files and hack in.

Mitigation

Update the plugin to a version newer than 4.5.5 and read the vendor's advisory. If no newer version is listed, read the advisory directly.

Summary

Insufficient file path validation in the NextGEN Gallery WordPress photo gallery plugin lets a logged-in attacker delete arbitrary files on the server. Versions up to and including 4.5.5 are affected, and deleting a file such as wp-config.php can lead to remote code execution.

Affected when

  • Logged-in account with custom-level access or above
  • 'NextGEN Manage gallery' capability granted

2 other Incidents of this product in the last 30 days

Incidents by product: Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

Other recent Incidents of Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

Read the CVE record · cve.org (opens in a new tab)