Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-92713 Overview
The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress contains an arbitrary file deletion vulnerability in the upload_image function. The flaw affects all versions up to and including 3.0.2. Authenticated attackers with Author-level access or above can delete arbitrary files on the server. The plugin restricts deletions to the wp-content/uploads directory, but this restriction does not establish a valid ownership boundary. All user attachments reside within that tree, and Authors trivially satisfy the edit_post capability check on galleries they own. The weakness is categorized as Missing Authorization [CWE-862].
Critical Impact
Authenticated attackers can delete arbitrary files within wp-content/uploads, including other users' media and files critical to site operation.
Affected Products
- Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress
- All versions up to and including 3.0.2
- WordPress sites allowing Author-level (or higher) user registration
Discovery Timeline
- 2026-09-25 - CVE CVE-2026-92713 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-92713
Vulnerability Analysis
The vulnerability resides in the upload_image function within the plugin's gallery upload helper (class-modula-gallery-upload.php) and the associated REST controller (class-gallery-upload-controller.php). The function accepts a file path parameter and performs a deletion without adequately validating that the caller owns the target file. The plugin attempts to confine operations to the wp-content/uploads directory, but this directory contains attachments owned by every author on the site. An Author who creates a gallery passes the edit_post capability check for that gallery, and the code then permits deletion of any path resolving under uploads.
Root Cause
The root cause is a missing authorization check [CWE-862]. The code conflates two unrelated authorization decisions: the right to edit a specific gallery post, and the right to delete an arbitrary file referenced by that gallery. Path confinement to wp-content/uploads is used as a security boundary, but ownership of files inside that tree is not verified against the caller.
Attack Vector
Exploitation requires an authenticated session at Author privilege or above. The attacker creates or edits a Modula gallery, then submits a crafted request to the plugin's upload handler specifying the path of an arbitrary file inside wp-content/uploads. Targets include other users' uploaded media, plugin assets stored under uploads, and backup archives. Deletion of wp-config.php is not directly possible from the uploads tree, but destructive impact on content and site availability is immediate.
No verified public exploit code is available. Technical details are documented in the WordPress Modula Upload Helper source and the Wordfence Vulnerability Report.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-92713
Indicators of Compromise
- Unexpected deletion of files under wp-content/uploads, including media belonging to Administrators or Editors.
- REST API calls to the Modula gallery upload controller from accounts with the Author role.
- WordPress audit log entries showing gallery edits followed by missing attachment references.
Detection Strategies
- Inventory the Modula plugin version across WordPress sites and flag any instance at 3.0.2 or earlier.
- Monitor web server access logs for POST or DELETE requests to /wp-json/modula/* endpoints originating from low-privilege user sessions.
- Correlate file deletion events in wp-content/uploads with the submitting user's role to identify authorization boundary violations.
Monitoring Recommendations
- Enable file integrity monitoring on the wp-content/uploads directory tree.
- Alert on bulk deletion patterns from a single authenticated session within a short time window.
- Review WordPress role assignments and limit the number of accounts granted Author privilege or higher.
How to Mitigate CVE-2026-92713
Immediate Actions Required
- Update the Modula Image Gallery plugin to a version released after 3.0.2 that includes the fix referenced in the WordPress Modula changeset.
- Audit all WordPress accounts with Author privilege or above and revoke access that is no longer required.
- Back up the wp-content/uploads directory and the WordPress database before applying updates.
Patch Information
The vendor committed a fix in changeset 3701804 for the modula-best-grid-gallery plugin. Site administrators should upgrade to the next released version above 3.0.2 through the WordPress plugin updater. See the WordPress Modula Changeset Update for the specific code changes.
Workarounds
- Temporarily deactivate the Modula Image Gallery plugin until the patched version is deployed.
- Restrict new user registration and demote untrusted Author accounts to Contributor or Subscriber roles.
- Deploy a web application firewall rule that blocks requests to the Modula upload REST endpoint from non-administrative users.
# Configuration example: enforce least privilege on uploads directory
find wp-content/uploads -type d -exec chmod 755 {} \;
find wp-content/uploads -type f -exec chmod 644 {} \;
# Then update the plugin via WP-CLI
wp plugin update modula-best-grid-gallery
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

