Summary
CVE-2026-78003 is a critical Server-Side Request Forgery (SSRF) vulnerability, achieved via path traversal, in the Mailgun for WordPress plugin. It affects all versions up to and including 2.2.0 and allows unauthenticated attackers to make authenticated requests to arbitrary Mailgun API endpoints using the victim site’s stored API key. The flaw carries a CVSS v3.1 score of 9.8 (Critical) and can be leveraged to intercept password-reset emails and take over administrator accounts.
Technical details
- Root cause: the plugin’s
add_list()function insufficiently validates user-controlled array keys taken from$_POST['addresses'], passing them only throughsanitize_text_field()before using them to construct a request path. - Trigger conditions: an attacker submits a crafted POST request containing manipulated array keys in the
addressesparameter to the vulnerable AJAX/admin handler; no authentication is required. - Attack vector: Network (AV:N), low complexity, no privileges or user interaction required.
- Impact: the manipulated input allows path traversal that redirects the plugin’s authenticated Mailgun API call to an attacker-chosen endpoint or resource, including creating inbound email-forwarding routes on the site’s Mailgun account. This can be used to intercept password-reset emails and ultimately achieve full administrator account takeover on the WordPress site.
Affected software
- Mailgun for WordPress plugin: all versions up to and including 2.2.0
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade the Mailgun for WordPress plugin to version 2.2.1 or later, where this issue is addressed.
- If immediate patching is not possible: disable or deactivate the Mailgun plugin until the update can be applied, restrict access to WordPress admin-ajax endpoints where feasible, and monitor Mailgun account routing/mailing-list configuration for unauthorized changes.
- Post-remediation: rotate the site’s Mailgun API key and review Mailgun-configured routes and mailing lists for any unauthorized entries created before patching.
How IONIX identifies potentially affected assets
IONIX matches the following signal against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw response body:
/wp-content/plugins/mailgun/

