CVE-2026-89406: CWE-862 Missing Authorization in wpchill Modula Image Gallery – Photo Grid & Video Gallery
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.
AI Analysis
Technical Summary
CVE-2026-89406 is a missing authorization vulnerability (CWE-862) in the Modula Image Gallery – Photo Grid & Video Gallery WordPress plugin up to version 3.0.1. The vulnerability arises because the add_metas() function is hooked to wp_head on every frontend request and retrieves posts based on the modula_gallery_id GET parameter without verifying the post's status or the requester's permissions. The input guard is faulty due to an incorrect empty() check on a string literal, and the only validation performed is a post_type check. No user authentication or capability checks are done, allowing unauthenticated attackers to enumerate private galleries and access metadata exposed via Open Graph and Twitter meta tags, which can be used to download the original private images directly.
Potential Impact
An unauthenticated attacker can enumerate private galleries and access sensitive metadata and original image files that should be restricted. This leads to unauthorized disclosure of private gallery contents, violating confidentiality. The vulnerability does not impact integrity or availability but exposes private user content to public access.
Mitigation Recommendations
No official patch or fix information is provided in the vendor advisory or input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the plugin or disable it if private galleries are used. Monitor vendor channels for updates addressing this authorization flaw.
CVE-2026-89406: CWE-862 Missing Authorization in wpchill Modula Image Gallery – Photo Grid & Video Gallery
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.
CVSS v3.1
Score 7.5high
Affected software
wpchill
Modula Image Gallery – Photo Grid & Video Gallery
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-89406 is a missing authorization vulnerability (CWE-862) in the Modula Image Gallery – Photo Grid & Video Gallery WordPress plugin up to version 3.0.1. The vulnerability arises because the add_metas() function is hooked to wp_head on every frontend request and retrieves posts based on the modula_gallery_id GET parameter without verifying the post's status or the requester's permissions. The input guard is faulty due to an incorrect empty() check on a string literal, and the only validation performed is a post_type check. No user authentication or capability checks are done, allowing unauthenticated attackers to enumerate private galleries and access metadata exposed via Open Graph and Twitter meta tags, which can be used to download the original private images directly.
Potential Impact
An unauthenticated attacker can enumerate private galleries and access sensitive metadata and original image files that should be restricted. This leads to unauthorized disclosure of private gallery contents, violating confidentiality. The vulnerability does not impact integrity or availability but exposes private user content to public access.
Mitigation Recommendations
No official patch or fix information is provided in the vendor advisory or input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the plugin or disable it if private galleries are used. Monitor vendor channels for updates addressing this authorization flaw.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-09-11T16:00:10.580Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab62744f7a7c541068154c9
Added to database: 09/25/2026, 07:48:20 UTC
Last enriched: 09/25/2026, 08:03:42 UTC
Last updated: 09/26/2026, 02:46:50 UTC
Views: 17
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.