---
id: CVE-2026-78003
title: >-
  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
summary: >-
  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 a…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-918
published: '2026-08-22'
updated: '2026-08-22'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-78003'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L259
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L323
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L331
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L557
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L259'
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L323'
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L331'
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L557'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/110e888d-69fc-4682-b908-2b62288c5227?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00791
epssPercentile: 0.54434
ingestedAt: '2026-08-23T04:42:13.750Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
