Skip to main content

Photo Gallery CVE-2026-81650

| EUVDEUVD-2026-83662 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-09-20 WPScan GHSA-j73p-vqpx-6v96
7.2
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain gallery-management capability account
  2. Delivery
    Upload archive with disguised PHP entries
  3. Exploit
    Extension check bypassed via loop-counter bug
  4. Execution
    File written to web-accessible directory
  5. Persist
    Request uploaded file over HTTP
  6. Impact
    Execute arbitrary code on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account that an administrator has explicitly granted the plugin's gallery-management capability (PR:H) - this is not a default subscriber or unauthenticated path. The attacker must submit an archive to the plugin's upload/extraction feature; the extension-validation bypass then allows a PHP file to land in a web-accessible gallery directory. Full remote code execution additionally requires that the hosting environment actually executes PHP in that upload directory (the description limits RCE to 'hosts that execute them'); on hardened hosts that block script execution in upload paths, the impact is reduced to arbitrary file write. No user interaction is needed (UI:N).

Impact

This is a genuine mid-to-high priority finding for sites running the affected plugin, but its severity is meaningfully gated by privilege. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H = 7.2) accurately reflects that exploitation requires a privileged actor: the description states only users granted the plugin's gallery-management capability by an administrator can reach the vulnerable extraction code, which maps correctly to PR:H rather than PR:N. Signal alignment is good: a public exploit exists (WPScan) and a vendor patch (4.5.0) is available, so both the offensive and defensive halves are confirmed. However, this is a POC-availability signal, not active-exploitation - there is no CISA KEV listing and no EPSS score provided, so treat it as 'publicly available exploit code exists,' NOT weaponized/in-the-wild. The C:H/I:H/A:H impact is credible because the flaw yields arbitrary file write into a web-accessible directory and thus RCE, but note the description qualifies RCE as occurring only 'on hosts that execute them' - the write-primitive is universal, code execution depends on server config. Net: prioritize patching where the plugin is present and where semi-trusted gallery-manager roles are delegated, but the PR:H requirement makes mass, opportunistic exploitation unlikely.

Exploit ScenarioDerived

An attacker who has been (or has phished/compromised) a non-admin account holding the plugin's gallery-management capability uploads a crafted archive whose entries carry PHP extensions; the reused loop-counter bug causes the extension whitelist check to always pass, so the malicious .php file is extracted into a web-accessible gallery directory. The attacker then requests that file over HTTP and, on a host configured to execute PHP in that path, achieves remote code execution. A public exploit for this technique is available via WPScan.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 20, 2026

Arbitrary file write - escalating to remote code execution on hosts that execute PHP from upload directories - affects the WordPress plugin Photo Gallery, Sliders, Proofing and Themes in all versions before 4.5.0. The flaw sits in the archive-extraction routine: a variable is reused as a loop counter, so the filename-extension check always passes and a user who has been granted the plugin's gallery-management capability by an administrator can place an attacker-controlled file (including a .php payload) into a web-accessible gallery directory; the CVSS vector (PR:H, UI:N) confirms this is an authenticated, elevated-privilege path rather than a subscriber or anonymous one. Publicly available exploit code exists, so exploitation is realistic for any site where a non-administrator holds the gallery-management role, and full code execution depends on the host actually serving PHP out of the upload path - on hardened hosts the impact is limited to arbitrary file write.

RemediationAI

Vendor-released patch: upgrade the plugin to version 4.5.0 or later, which is the fix line identified in the advisory and in the EUVD affected range (<4.5.0); verify the update through the WordPress plugin dashboard or the WPScan advisory at https://wpscan.com/vulnerability/7c1443ae-14b4-43ca-bb1a-b6a3f9b27c57/. Where an immediate upgrade is not possible, the most effective compensating control is to remove the gallery-management capability from every non-administrator role, since the attack is gated on that grant - the trade-off is that legitimate editors lose gallery management until the patch is applied. Independently, disable PHP execution inside the uploads/gallery directories (for Apache, a .htaccess with php_flag engine off or a FilesMatch deny on .php; for nginx, a location block returning 403 for \.php$ under wp-content/uploads), which neutralises the code-execution step but does not stop the underlying arbitrary file write; confirm the effect on any legitimate dynamic content served from those paths. A WAF rule blocking archive uploads to the plugin's extraction endpoint can reduce exposure but is bypassable and should be treated as temporary, and no public exploit mitigation should be relied on in place of the 4.5.0 upgrade.

Affected VersionsENISA

Photo Gallery, Sliders, Proofing and Themes 0 <4.5.0

Affected Packages

euvd photo_gallery_sliders_proofing_and_themes fix: 4.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type) in a WordPress plugin that provides gallery, slider, proofing and theme functionality. Rather than a missing check, the root cause is a logic defect in the post-extraction routine: the loop variable used to iterate over the entries of an uploaded archive is the same variable that carries the result of the extension-validation test, so every iteration overwrites the test outcome and the validation always evaluates as successful. Archive extraction therefore writes member filenames verbatim, including executable extensions, into a directory the web server can reach. The CPE entry (cpe:2.3:a:unknown:photo_gallery,_sliders,_proofing_and_themes:*:*:*:*:*:*:*:*) leaves all version fields wildcarded, but the EUVD record pins the affected range to 0 through versions below 4.5.0. Because WordPress has no default execution restriction on files under wp-content/uploads, the file-write primitive converts directly into PHP code execution on typical hosts; the independent assessment notes that environments blocking script execution in upload paths reduce this to arbitrary file write only. The CVSS 3.1 vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H indicates a network-reachable, low-complexity attack requiring high privileges with no user interaction.

Know when Photo Gallery Sliders Proofing And Themes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (WPScan) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Requires an admin-delegated gallery-management role (PR:H) over the network with no user interaction; arbitrary file write yields RCE giving full C/I/A impact on the host.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 20, 2026 - 14:22 NVD
7.2 (HIGH)
Patch available
Sep 20, 2026 - 07:01 EUVD
CVE Published
Sep 20, 2026 - 06:00 cve.org
HIGH 7.2
CVE Published
Sep 20, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

The Photo Gallery, Sliders, Proofing and WordPress plugin before 4.5.0 does not correctly validate the extensions of files extracted from an uploaded archive, due to a variable being reused as a loop counter so that the check always passes, allowing users granted its gallery-management capability by an administrator to write arbitrary files into a web-accessible directory and, on hosts that execute them, run arbitrary code.

Technical POC Analysis

Evidence caveat: the only supplied source is the WPScan vulnerability entry.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The WordPress plugin Photo Gallery, Sliders, Proofing and Themes (versions before 4.5.0) contains a high-severity flaw that allows an authenticated user with gallery-management privileges to write arbitrary files, potentially leading to remote code execution on hosts that execute PHP from upload directories. Publicly available exploit code exists, so any site where a non-administrator holds that capability is at risk and should be prioritized for remediation. Leadership should care because a successful exploit could compromise the entire WordPress installation and underlying server, affecting site integrity, customer data, and brand trust.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche photography gallery/proofing WordPress plugin, limited install base
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy