Auth bypass in Wpchill Modula Image Gallery – Photo Grid & Video
CVE-2026-89406
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (30.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 30.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
The 30-day trend appears once there are two daily scores.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/a369dff6-feca-47cf-8511-dc75c…
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.1/includes…
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.1/includes…
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.1/includes…
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.1/includes…
- plugins.trac.wordpress.org/changeset
Frequently asked questions
- What is CVE-2026-89406?
- CVE-2026-89406 is a high-severity vulnerability in Wpchill Modula Image Gallery – Photo Grid & Video, classified under Missing Authorization. CVSS score: 7.5/10. Published 2026-09-25.
- How severe is CVE-2026-89406?
- High severity. CVSS v3 base score is 7.5 out of 10.