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-109401 Overview
CVE-2026-109401 affects the WP Mail Logging plugin for WordPress in all versions up to and including 1.17.0. The vulnerability allows authenticated attackers with administrator-level access to extract logged mail rows belonging to other users through the email_address parameter. The flaw stems from unsafe use of SQL LIKE wildcards during personal-data export requests processed via the standard WordPress privacy workflow. Exposed data includes recipient addresses, message subjects, full message bodies, and any embedded URLs. The issue is classified under CWE-200: Information Exposure and was patched in version 1.17.1.
Critical Impact
Administrators processing a privacy export containing wildcard characters can leak mail log entries belonging to unrelated users, exposing message contents and recipient metadata.
Affected Products
- WP Mail Logging plugin for WordPress versions 1.17.0 and earlier
- WordPress sites with the WP Mail Logging plugin and the WordPress Privacy/Personal Data Export workflow enabled
- Sites with multiple registered users whose email addresses may collide with LIKE wildcard patterns
Discovery Timeline
- 2026-10-16 - CVE-2026-109401 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-109401
Vulnerability Analysis
The vulnerability resides in the WPML_PrivacyController component of WP Mail Logging. When an administrator processes a personal-data export request, the controller queries the mail log using the requester's email_address without escaping SQL LIKE wildcard metacharacters such as _ and %. The underlying ORM query, defined in lib/vendor/brandonwamboldt/wp-orm/src/Query.php, interprets these characters as pattern operators. As a result, a crafted email address matches any logged mail row whose recipient address fits the wildcard pattern. The exporter returns full row data, including subjects, bodies, and URLs, to the requester.
Root Cause
The root cause is improper neutralization of LIKE wildcards in the privacy export query path. The controller passes attacker-controlled input directly into a LIKE clause without calling an equivalent of esc_like() on the value. This design decision conflates email identity matching with SQL pattern matching, violating the principle of treating user input as literal data.
Attack Vector
Exploitation requires an attacker to register an account whose email address contains a LIKE wildcard, for example vict_m@example.com where _ matches any single character. The attacker then submits a personal-data export request through WordPress and waits for an administrator to approve it. The approved export returns all mail log rows whose recipient addresses satisfy the wildcard. The attack requires administrator cooperation to confirm the privacy request, which limits practical impact. See the WordPress Plugin Privacy Controller Code for the vulnerable logic.
Detection Methods for CVE-2026-109401
Indicators of Compromise
- Registered WordPress user accounts whose email addresses contain _ or % characters without legitimate justification
- Personal-data export requests originating from recently created low-privilege accounts
- Access log entries showing wp-admin/tools.php?page=export_personal_data activity tied to accounts with wildcard-bearing addresses
Detection Strategies
- Audit the WordPress wp_users table for addresses containing SQL wildcard characters and correlate against account creation timestamps
- Review the wp_user_requests table for export_personal_data entries and compare requester addresses against the mail log table used by WP Mail Logging
- Inspect administrator action logs for approvals of personal-data exports that returned unusually large or cross-user mail datasets
Monitoring Recommendations
- Alert on new user registrations where the email local-part contains _ or % characters
- Monitor outbound export archive downloads for file sizes inconsistent with the requesting user's activity
- Track WP Mail Logging plugin version across WordPress deployments and flag any instance running 1.17.0 or earlier
How to Mitigate CVE-2026-109401
Immediate Actions Required
- Upgrade WP Mail Logging to version 1.17.1 or later on every WordPress installation
- Pause approval of pending personal-data export requests until the plugin is upgraded
- Review existing user accounts and quarantine any whose email addresses contain unescaped LIKE wildcard characters
Patch Information
The vendor fixed the issue in version 1.17.1 by escaping LIKE wildcard characters in the privacy export query. Review the fix in WordPress Plugin Changeset 3746095 and the full version comparison in the WordPress Plugin Changeset Comparison. Additional context is available in the Wordfence Vulnerability Report.
Workarounds
- Disable the WP Mail Logging plugin until the site can be upgraded to version 1.17.1
- Require manual review of the requester's email address before fulfilling any WordPress privacy export request
- Restrict new user registration or validate email addresses to reject LIKE wildcard characters at signup
# Configuration example: identify vulnerable installs and users with wildcard addresses
wp plugin get wp-mail-logging --field=version
wp user list --format=csv --fields=ID,user_email | grep -E '[_%]'
wp plugin update wp-mail-logging --version=1.17.1
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

