CVE-2026-78003
The Mailgun for WordPress plugin for WordPress is vulnerable to …
The Mailgun for WordPress plugin for WordPress is vulnerable to Server-Side Request Forgery (SSRF) via path traversal in versions up to and including 2.2.0. This is due to insufficient input validation in the add_list() function, which accepts user-controlled array keys from $_POST['addresses'], passes them through sanitize_text_field(). This makes it possible for unauthenticated attackers to make authenticated POST requests to any Mailgun API endpoint using the WordPress site's API key, including creating inbound email-forwarding routes that can intercept password reset emails, leading to administrator account takeover.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L259
- plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L323
- plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L331
- plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L557
- plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L259
- plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L323
- plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L331
- plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L557
- nvd.nist.gov/vuln/detail/CVE-2026-78003
- cve.org/CVERecord?id=CVE-2026-78003
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.