# CVE-2026-78003: Mailgun for WordPress <= 2.2.0 - Unauthenticated Server-Side Request Forgery (SSRF) via 'addresses' Array Keys

> CVE-2026-78003: Mailgun for WordPress <= 2.2.0 - Unauthenticated Server-Side Request Forgery (SSRF) via 'addresses' Array Keys. CVSS 9.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-78003
Last updated: 2026-10-12T16:10:00Z

- Published: 2026-08-22 08:26 UTC · Updated: 2026-10-12 16:10 UTC · Assigner: Wordfence
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.79%, 56th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-918

## 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.

## Affected vendors and products

- mailgun: Mailgun for WordPress

## Tracked companies

- [Mailgun](https://rewindex.com/company/mailgun.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-78003)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-78003)
- [https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php\#L259](https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L259)
- [https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php\#L323](https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L323)
- [https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php\#L331](https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L331)
- [https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php\#L557](https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L557)
- [https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php\#L259](https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L259)
- [https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php\#L323](https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L323)
- [https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php\#L331](https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L331)
- [https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php\#L557](https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L557)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/110e888d-69fc-4682-b908-2b62288c5227?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/110e888d-69fc-4682-b908-2b62288c5227?source=cve)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-78003 · Markdown: https://rewindex.com/cve/CVE-2026-78003.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-78003 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:43.873Z
