CVE-2026-78003
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by Wordfence
Exploit likelihood
0.87% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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

Product or packageVersionsReported by
mailgun Mailgun for WordPressup to 2.2.0CVE List

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

El plugin Mailgun para WordPress para WordPress es vulnerable a la falsificación de petición del lado del servidor (SSRF) a través de salto de ruta en versiones hasta la 2.2.0 inclusive. Esto se debe a una validación de entrada insuficiente en la función add_list(), que acepta claves de array controladas por el usuario desde parámetro , las pasa a través de sanitize_text_field(). Esto hace posible que atacantes no autenticados realicen peticiones POST autenticadas a cualquier endpoint de la API de Mailgun utilizando la clave API del sitio de WordPress, incluyendo la creación de rutas de reenvío de correo electrónico entrantes que pueden interceptar correos electrónicos de restablecimiento de contraseña, lo que lleva a la toma de control de la cuenta de administrador.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-78003 changed 2026-08-25CVE Terms of Use
NVDCVE-2026-78003 changed 2026-10-12Public domain