Modula Image Gallery <= 3.0.1 - Missing Authorization to Unauthenticated Private Gallery Image Disclosure via 'modula_gallery_id' and 'modula_image_id' Parameters
Strategic Overview
- Status
- Patched in 3.0.2
- Affected Plugin
- Modula Image Gallery – Photo Grid & Video Gallery
- Affected Version
<= 3.0.1- CVSS
- 7.5High
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2026-89406
At a glance
CVE-2026-89406 is a high-severity Missing Authorization vulnerability in the Modula Image Gallery WordPress plugin, affecting versions <= 3.0.1. It carries a CVSS score of 7.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires no authentication. The issue is fixed in version 3.0.2; sites on affected versions should update now. Disclosed September 2026, reported by Supakiad S. (m3ez).
Vulnerability Overview
The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to unauthorized disclosure of private gallery contents in versions up to, and including, 3.0.1. This is due to the Modula_Meta::add_metas() function being hooked to wp_head on every frontend request and looking up any post via get_post( $_GET['modula_gallery_id'] ) without verifying the gallery's post_status or the requester's capability to read it — the gallery-side input guard is bugged (empty('modula_gallery_id') tests a nonempty string literal instead of the GET parameter, so it is always false), the only object validation is a post_type === 'modula-gallery' check, and no is_user_logged_in()/current_user_can('read_post', $gallery_id) check is performed. This makes it possible for unauthenticated attackers to enumerate private modula-gallery posts and their member attachments and recover the image's title, description, dimensions, and original upload URL via Open Graph/Twitter meta tags emitted in the response, which then allows direct unauthenticated download of the original private image bytes.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-862: Missing Authorization
Modula Image Gallery <= 3.0.1 carries this weakness at modula_gallery_id, and reaching it takes no account at all. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Modula Image Gallery the fix is 3.0.2: builds <= 3.0.1 are affected, anything from 3.0.2 onward is not.
Remediation
Update to version 3.0.2, or a newer patched version
How does WordSec protect against this?
This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: Modula Image Gallery 3.0.2 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
- 8.1CVE-2026-92713: Modula Image Gallery Authenticated (Author+)
CVE-2026-92713 - 7.5CVE-2022-41135: Customizable WordPress… Plugin Settings Change
CVE-2022-41135 - 4.3CVE-2026-1254: Modula Image Gallery Authenticated (Contributor+)
CVE-2026-1254 - 4.3CVE-2025-14003: Image Gallery Authenticated (Author+) Arbitrary
CVE-2025-14003
Other vulnerabilities in Modula Image Gallery – Photo Grid & Video Gallery
- 8.8CVE-2024-12853: Modula Image Gallery <= 2.11.10 Arbitrary File Upload
CVE-2024-12853 - 7.5CVE-2026-39481: Modula Image Gallery PHP Object Injection
CVE-2026-39481 - 7.5CVE-2025-13646: Modula 2.13.1 - 2.13.2 Arbitrary File Upload
CVE-2025-13646 - 7.2CVE-2025-13645: Modula 2.13.1 - 2.13.2 Arbitrary File Deletion
CVE-2025-13645 - 6.5CVE-2025-13891: Image Gallery Arbitrary Directory Listing
CVE-2025-13891 - 6.4CVE-2026-65475: Modula Image Gallery Stored XSS
CVE-2026-65475 - 6.4CVE-2026-42688: Modula Image Gallery Stored XSS
CVE-2026-42688 - 6.4CVE-2026-23976: Modula Image Gallery <= 2.13.4 Stored XSS
CVE-2026-23976
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C