CVE-2026-45755: Symfony: Mailtrap Mailer Webhook Parser Never Verifies the X-Mt-Signature HMAC — Unauthenticated Webhook Event Injection

Published May 28, 2026
·
Updated

Description

The Mailtrap mailer bridge ships a webhook request parser used to authenticate and decode the event callbacks Mailtrap POSTs to an application's webhook endpoint. Its doParse(Request $request, #[\SensitiveParameter] string $secret) method receives the configured webhook secret but never reads it; it decodes and returns the payload unconditionally, ignoring the X-Mt-Signature HMAC header Mailtrap sends with each request.

As a result, an application that wires up the Mailtrap webhook endpoint accepts any POST to that URL, even when a signing secret is configured (the recommended setup). An attacker who knows the endpoint exists can submit forged event payloads, fake delivery / bounce / open / click / spam events, leading to suppression-list corruption, delivery-metrics fraud, etc.

Resolution

MailtrapRequestParser::doParse() now requires and verifies the X-Mt-Signature header, an HMAC-SHA256 of the raw request body keyed with the configured secret, before decoding the payload, using a constant-time comparison.

When no secret is configured the behaviour is unchanged: signature verification remains opt-in, but it is now actually enforced once opted in.

The patch for this issue is available here for branch 7.4.

Credits

Symfony would like to thank Himanshu Anand for reporting the issue and Alexandre Daubois providing the fix.

Other sources

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 7.4.12 and 8.0.12, MailtrapRequestParser::doParse() received the configured webhook secret but ignored the X-Mt-Signature HMAC header, allowing unauthenticated POST requests to inject forged Mailtrap delivery, bounce, open, click, or spam events. This issue is fixed in versions 7.4.12 and 8.0.12.

MITRE

Affected Software

6 affected componentsFixes available
composer/symfony/symfony>=8.0.0<8.0.12
8.0.12
composer/symfony/symfony>=7.2.0<7.4.12
7.4.12
composer/symfony/mailtrap-mailer>=8.0.0<8.0.12
8.0.12
composer/symfony/mailtrap-mailer>=7.2.0<7.4.12
7.4.12
SensioLabs Symfony>=7.2.0<7.4.12
SensioLabs Symfony>=8.0.0<8.0.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/symfony/symfony to a version that resolves this vulnerability.

    Fixed in 8.0.12
  2. Upgrade

    Upgrade composer/symfony/symfony to a version that resolves this vulnerability.

    Fixed in 7.4.12
  3. Upgrade

    Upgrade composer/symfony/mailtrap-mailer to a version that resolves this vulnerability.

    Fixed in 8.0.12
  4. Upgrade

    Upgrade composer/symfony/mailtrap-mailer to a version that resolves this vulnerability.

    Fixed in 7.4.12
  5. Upgrade

    Upgrade Symfony Mailtrap Mailer Webhook Parser (MailtrapRequestParser) to a version that resolves this vulnerability.

    Fixed in 7.4.12
  6. Upgrade

    Upgrade Symfony Mailtrap Mailer Webhook Parser (MailtrapRequestParser) to a version that resolves this vulnerability.

    Fixed in 8.0.12

Event History

May 28, 2026
Advisory Published
via GitHub·05:33 PM
Data Sourced
via GitHub·05:33 PM
DescriptionWeaknessAffected Software
Jul 14, 2026
CVE Published
via MITRE·06:56 PM
Data Sourced
via MITRE·06:56 PM
DescriptionWeakness
Data Sourced
via NVD·07:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45755?

CVE-2026-45755 has a risk rating of 50.

2

How do I fix CVE-2026-45755?

To fix CVE-2026-45755, update the Mailtrap mailer to the latest version provided by Symfony.

3

What software is affected by CVE-2026-45755?

CVE-2026-45755 affects the Mailtrap mailer and Symfony framework.

4

What does the CVE-2026-45755 vulnerability involve?

CVE-2026-45755 involves a webhook request parser that can improperly handle webhook secrets.

5

When was CVE-2026-45755 published?

CVE-2026-45755 was published on May 28, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203