CVE-2026-89406 Missing authorization in Modula Image Gallery – Photo Grid & Video Gallery
Unauthenticated attackers can access private gallery images and metadata due to missing authorization checks in the Modula Image Gallery plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-89406?
CVE-2026-89406 is a high-severity missing authorization vulnerability in wpchill Modula Image Gallery – Photo Grid & Video Gallery, published on 25 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-862
Which versions are affected by CVE-2026-89406?
How do I fix CVE-2026-89406?
No fix has been published for CVE-2026-89406 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-89406 being exploited?
There is no known exploitation of CVE-2026-89406 in the wild and no public exploit code.
Sources
Also known as GHSA-vpwx-33j2-2p7h.