Skip to main content

WP Mail Gateway CVE-2026-6963

| EUVDEUVD-2026-26736 HIGH
Missing Authorization (CWE-862)
2026-05-02 security@wordfence.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Register Subscriber account
  2. Delivery
    Authenticate to WordPress
  3. Exploit
    Send crafted AJAX request to wmg_save_provider_config
  4. Install
    Redirect SMTP to attacker server
  5. C2
    Trigger admin password reset
  6. Execute
    Intercept reset email
  7. Impact
    Compromise administrator account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated WordPress user account with Subscriber-level privileges or higher. WordPress sites with open user registration (Settings → General → 'Anyone can register' enabled) allow attackers to create the required Subscriber account without prior access. Sites with closed registration are vulnerable only if attacker can compromise an existing low-privilege account through credential stuffing, phishing, or other means. The WP Mail Gateway plugin must be installed and active-no special SMTP provider configuration required as the vulnerability exists in the AJAX handler itself, not provider-specific code. Exploitation is NOT limited by network factors: AV:N indicates remote exploitation from any network location. AC:L confirms no special timing, race conditions, or environmental prerequisites. UI:N means no administrator interaction required-attacker-controlled AJAX request alone achieves SMTP reconfiguration. LIMITING FACTOR: Sites without WP Mail Gateway plugin installed are not affected (obviates the vulnerability entirely). Sites with Web Application Firewalls performing WordPress-aware authorization checks may block unauthorized AJAX actions if WAF rules inspect user roles.

Impact

Real-world risk is HIGH and actionable despite no confirmed active exploitation. CVSS 8.8 accurately reflects impact: AV:N (network-exploitable against any internet-facing WordPress site), AC:L (low complexity-simple AJAX request), PR:L (requires authenticated account but WordPress subscriber registration is often open), UI:N (no user interaction needed post-authentication). The privilege escalation path is deterministic and fully automated: create subscriber account → modify SMTP settings → trigger password reset for admin → intercept email → compromise admin account. EPSS data not provided, but similar WordPress authentication bypass vulnerabilities typically score 10-30% exploitation probability within 30 days of disclosure. The availability of source code references (WordPress plugin repository trac links showing exact vulnerable lines) significantly lowers exploitation barrier-security researchers and attackers can craft working exploits by examining the changeset diff. Wordfence reporting suggests responsible disclosure occurred, but publicly accessible source code means exploitation window is open until sites patch. CRITICAL GAPS: Patch version number not explicitly stated in references-changeset 3515205 indicates a fix exists but released version number requires verification from WordPress plugin repository. No confirmation whether default WordPress installations are vulnerable or if plugin requires specific SMTP provider configurations.

Exploit ScenarioDerived

An external attacker registers a free Subscriber account on a WordPress site running WP Mail Gateway 1.8 or earlier (common when membership features or comment registration are enabled). Using authenticated session credentials, the attacker crafts a POST request to /wp-admin/admin-ajax.php with action=wmg_save_provider_config, modifying SMTP server settings to point to attacker-controlled infrastructure (smtp.attacker.com). The attacker then triggers a password reset for the site administrator account via the standard WordPress login form. The password reset email routes through the malicious SMTP server, where the attacker intercepts the reset token, completes the password reset process, and gains full administrative access to the WordPress site. No exploit code required beyond basic HTTP request manipulation-publicly available source code references provide complete implementation details for exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 02, 2026

Missing capability check in WP Mail Gateway plugin for WordPress (versions ≤1.8) allows authenticated attackers with Subscriber-level privileges to modify SMTP settings via the wmg_save_provider_config AJAX action, enabling mail redirection. Attackers exploit this by redirecting password reset emails to attacker-controlled servers, then using intercepted credentials to escalate privileges to Administrator. CVSS 8.8 (High) reflects the severe impact despite requiring initial low-level authentication. No active exploitation confirmed via CISA KEV, but Wordfence reporting indicates discovery by security researchers and likely inclusion in their threat intelligence feeds.

RemediationAI

Upgrade WP Mail Gateway plugin to the patched version released after changeset 3515205 (exact version number requires verification from WordPress.org plugin repository-likely 1.9 or later based on typical WordPress versioning). The fix implements capability checks requiring manage_options permission before processing wmg_save_provider_config AJAX requests. Until patching, implement compensating controls: (1) Disable user registration in WordPress Settings → General → 'Anyone can register' to prevent attacker creation of Subscriber accounts-NOTE this breaks legitimate user registration workflows. (2) Use a Web Application Firewall (WAF) to block POST requests to /wp-admin/admin-ajax.php with action=wmg_save_provider_config from non-administrator sessions-requires session-aware WAF capable of parsing WordPress authentication cookies. (3) Audit existing SMTP settings in WP Mail Gateway configuration for unauthorized changes and reset to known-good values. (4) Review WordPress user accounts for suspicious Subscriber-level accounts created near the time of potential compromise. Official fix details: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3515205%40wp-mail-gateway&new=3515205%40wp-mail-gateway. Wordfence advisory: https://www.wordfence.com/threat-intel/vulnerabilities/id/c7caf1f4-a8dd-4016-91eb-2adbeed5290a.

Affected VersionsENISA

WP Mail Gateway 0 ≤1.8

Affected Packages

euvd wp_mail_gateway no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability stems from CWE-862 (Missing Authorization), where the WP Mail Gateway plugin fails to validate user capabilities before processing AJAX requests to wmg_save_provider_config. WordPress AJAX handlers should implement capability checks using WordPress core functions like current_user_can() to ensure only privileged users (e.g., manage_options capability for administrators) can modify sensitive settings. The vulnerable code in Bootstrap.php (line 47) and Functions.php (line 111) exposes SMTP configuration parameters-including server address, port, authentication credentials-to any authenticated user. By manipulating these settings, attackers redirect WordPress outbound mail (password resets, admin notifications) to attacker-controlled SMTP servers, intercepting sensitive authentication tokens. This is a classic capability bypass in WordPress plugin architecture, where developers incorrectly assume AJAX nonces alone provide sufficient security without role-based access control.

Know when WordPress gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The WP Mail Gateway plugin for WordPress is vulnerable to unauthorized access due to a missing capability check on the wmg_save_provider_config AJAX action in all versions up to, and including, 1.8. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update SMTP settings and redirect mail which can be used for privilege escalation by triggering a password reset email and using that to access and administrator's account.

Executive ViewAI

Why It Matters

WP Mail Gateway plugin (versions 1.8 and earlier) contains a privilege escalation vulnerability allowing low-level WordPress users to redirect site emails and intercept password reset tokens, potentially leading to full site compromise. Organizations running affected versions face immediate risk of administrator account takeover and unauthorized access to sensitive communications, requiring urgent remediation before the vulnerability is weaponized.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable WP Mail Gateway plugin immediately; (2) Restrict SMTP configuration access via database-level permissions or WAF rules blocking wmg_save_provider_config action from Subscriber/Contributor roles; (3) Implement SMTP authentication logging and alert on mail redirection changes; (4) Enforce multi-factor authentication on all WordPress accounts to prevent credential-based takeover; (5) Monitor for unauthorized email forwarding rules in server logs.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy