Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-2559: CWE-862 Missing Authorization in saadiqbal Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App

0
Medium
VulnerabilityCVE-2026-2559cvecve-2026-2559cwe-862
Published: Wed Mar 18 2026 (03/18/2026, 15:28:28 UTC)
Source: CVE Database V5
Vendor/Project: saadiqbal
Product: Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App

Description

The Post SMTP plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the `handle_office365_oauth_redirect()` function in all versions up to, and including, 3.8.0. This is due to the function being hooked to `admin_init` without any `current_user_can()` check or nonce verification. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the site's Office 365 OAuth mail configuration (access token, refresh token, and user email) via a crafted URL. The configuration option is used during wizard setup of Microsoft365 SMTP, only available in the Pro option of the plugin. This could cause an Administrator to believe an attacker-controlled Azure app is their own, and lead them to connect the plugin to the attacker's account during configuration after upgrading to Pro.

AI-Powered Analysis

AILast updated: 03/18/2026, 16:00:07 UTC

Technical Analysis

The Post SMTP plugin for WordPress, widely used for email deliverability and SMTP management, contains a missing authorization vulnerability identified as CVE-2026-2559. The root cause is the absence of a capability check (current_user_can()) and nonce verification in the handle_office365_oauth_redirect() function, which is triggered during the admin_init hook. This flaw allows any authenticated user with at least Subscriber privileges to craft a URL that modifies the Office 365 OAuth mail configuration options, including sensitive tokens and user email addresses. These configuration options are critical as they are used during the Microsoft365 SMTP setup wizard, which is only available in the Pro version of the plugin. By overwriting these settings, an attacker can cause an administrator to unknowingly connect the plugin to an attacker-controlled Azure application, potentially enabling interception or manipulation of outbound emails. The vulnerability does not impact confidentiality directly but severely compromises integrity by allowing unauthorized changes to email configuration, which could facilitate further attacks such as phishing or data exfiltration. Exploitation requires authenticated access but no user interaction beyond visiting a crafted URL. The vulnerability affects all versions up to 3.8.0, and no patches are currently listed, indicating the need for immediate attention from users of this plugin. No known exploits have been reported in the wild, but the potential impact warrants proactive mitigation.

Potential Impact

The primary impact of CVE-2026-2559 is unauthorized modification of critical email configuration settings within WordPress sites using the Post SMTP plugin Pro version. This can lead to attackers redirecting email traffic through their own Azure applications, enabling interception, manipulation, or spoofing of emails sent from the affected site. Such control over email delivery can facilitate phishing attacks, data leakage, and loss of trust in organizational communications. While the vulnerability does not directly expose confidential data, it undermines the integrity of email systems, which are often used for sensitive communications and authentication workflows. Organizations relying on Microsoft365 SMTP through this plugin are at risk of having their email infrastructure compromised, potentially impacting business operations, compliance, and reputation. The requirement for authenticated access limits exposure to insiders or compromised accounts but does not eliminate risk, as Subscriber-level accounts are common in WordPress environments. The absence of known exploits suggests limited current exploitation, but the vulnerability's nature makes it a valuable target for attackers seeking persistent access or lateral movement within compromised environments.

Mitigation Recommendations

To mitigate CVE-2026-2559, organizations should immediately restrict Subscriber-level user capabilities to the minimum necessary, reducing the risk of unauthorized configuration changes. Administrators should audit existing user roles and remove or downgrade unnecessary accounts with elevated privileges. Until an official patch is released, consider disabling or uninstalling the Post SMTP plugin Pro version if feasible. If continued use is necessary, implement web application firewall (WAF) rules to detect and block suspicious requests targeting the handle_office365_oauth_redirect() endpoint, especially those attempting to modify OAuth configurations via crafted URLs. Monitoring WordPress logs for unusual admin_init hook activity or unexpected configuration changes can provide early detection of exploitation attempts. Additionally, educate administrators to verify OAuth application details during setup to detect potential attacker-controlled Azure app connections. Once a patch becomes available, apply it promptly. Finally, consider implementing multi-factor authentication (MFA) for WordPress accounts to reduce the risk of account compromise that could lead to exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-02-15T19:05:42.476Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bac82e771bdb1749ab0140

Added to database: 3/18/2026, 3:43:42 PM

Last enriched: 3/18/2026, 4:00:07 PM

Last updated: 3/19/2026, 6:52:51 AM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses