CVE-2026-78003 PUBLISHED

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

Assigner: Wordfence
Reserved: 21.08.2026 Published: 22.08.2026 Updated: 22.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor mailgun
Product Mailgun for WordPress
Versions Default: unaffected
  • affected from 0 to 2.2.0 (incl.)

Credits

  • Osvaldo Noe Gonzalez Del Rio (Os) finder

References

Problem Types

  • CWE-918 Server-Side Request Forgery (SSRF) CWE