---
title: "CVE-2026-118191: NextGEN Gallery - Arbitrary File Deletion"
description: "NextGEN Gallery WordPress plugin <= 4.5.5 contains an arbitrary file deletion vulnerability caused by insufficient file path validation in handle_job function, letting authenticated attackers with custom-level access delete arbitrary files, exploit requires 'NextGEN Manage gallery' capability."
url: https://panop.io/threat-heartbeat/CVE-2026-118191/
---

# CVE-2026-118191 NextGEN Gallery - Arbitrary File Deletion

NextGEN Gallery WordPress plugin <= 4.5.5 contains an arbitrary file deletion vulnerability caused by insufficient file path validation in handle\_job function, letting authenticated attackers with custom-level access delete arbitrary files, exploit requires 'NextGEN Manage gallery' capability.

CVSS base score 8.1 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.99% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-118191)

## Details

Type

Arbitrary File Deletion

Impact

File System Write, Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Published

13 November 2026

Updated

15 November 2026

Weakness

[CWE-22](https://cwe.mitre.org/data/definitions/22.html)

## Vendor fix

Update to a version later than 4.5.5 or the latest available version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-118191](https://nvd.nist.gov/vuln/detail/CVE-2026-118191)
- [https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Controller.php#L164](https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Controller.php#L164)
- [https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Controller.php#L2395](https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Controller.php#L2395)
- [https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Controller.php#L2764](https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Controller.php#L2764)
- [https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Controller.php#L2943](https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Controller.php#L2943)
- [https://plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/Lightroom/Controller.php](https://plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/Lightroom/Controller.php)
- [https://plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/Lightroom/Controller.php?old=3773860&old\_path=nextgen-gallery%2Ftrunk%2Fsrc%2FLightroom%2FController.php](https://plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/Lightroom/Controller.php?old=3773860&old_path=nextgen-gallery%2Ftrunk%2Fsrc%2FLightroom%2FController.php)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/b4e01402-f866-43b9-9fef-7e9b156a9e0d?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/b4e01402-f866-43b9-9fef-7e9b156a9e0d?source=cve)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
