CVE-2026-104683: Envira Gallery < 1.16.4 - Contributor Incorrect Privilege Assignment via Gallery Capability Bootstrap
The Envira Gallery WordPress plugin before 1.16.4 does not apply its own gallery-permission policy until an administrator first opens its permissions screen, instead copying gallery-management capabilities onto each role from that role's core post capabilities after activation, which lets Contributor accounts create, edit and delete galleries that the policy is meant to restrict to higher roles.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.16.4 - Operational
As an administrator, open Envira Gallery’s permissions screen to apply its gallery-permission policy.
Event History
Frequently Asked Questions
Which sites are exposed to this privilege escalation?
Sites using Envira Gallery versions before 1.16.4 are exposed if the plugin's intended gallery-permission policy has not yet been applied by an administrator opening the permissions screen. In that state, Contributor accounts can receive gallery-management capabilities copied from their core post capabilities.
What access does an attacker need?
An attacker needs an existing WordPress account with the Contributor role. The issue does not describe exploitation by unauthenticated users.
What can an affected Contributor do?
An affected Contributor can create, edit, and delete galleries, despite the gallery-permission policy being intended to limit those actions to higher-privileged roles.
What can be done before updating?
An administrator can open the Envira Gallery permissions screen to apply the plugin's own gallery-permission policy. Updating to version 1.16.4 or later addresses the affected versions.
How can administrators check for potential impact?
Review whether Contributor accounts have been able to create, edit, or delete Envira galleries, particularly after plugin activation and before an administrator opened the permissions screen. The supplied information does not provide a specific log entry or indicator for confirming exploitation.