CVE-2026-78003: Mailgun for WordPress <= 2.2.0 - Unauthenticated Server-Side Request Forgery (SSRF) via 'addresses' Array Keys
Description
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · CWE-918
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
mailgun: Mailgun for WordPress
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php (opens in new tab)
- plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php (opens in new tab)
- plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php (opens in new tab)
- plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php (opens in new tab)
- plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php (opens in new tab)
- plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php (opens in new tab)
- plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php (opens in new tab)
- plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php (opens in new tab)
- www.wordfence.com/threat-intel/vulnerabilities/id/110e888d-69fc-4682-b908-2b62288c5227 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)