Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/mailtrap-mailer
  4. ›
  5. CVE-2026-45755

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

May 28, 2026

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/mailtrap-mailer/CVE-2026-45755.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45755.yaml
  • github.com/advisories/GHSA-59f3-vp2f-mp9w
  • github.com/symfony/symfony/commit/4e0467e4e182cf2e704a3d9e1bc1a6be65d52ab8
  • github.com/symfony/symfony/security/advisories/GHSA-59f3-vp2f-mp9w
  • nvd.nist.gov/vuln/detail/CVE-2026-45755
  • symfony.com/cve-2026-45755

Code Behaviors & Features

Detect and mitigate CVE-2026-45755 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.2.0 before 7.4.12, all versions starting from 8.0.0 before 8.0.12

Fixed versions

  • 7.4.12
  • 8.0.12

Solution

Upgrade to versions 7.4.12, 8.0.12 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function
  • CWE-347: Improper Verification of Cryptographic Signature

Source file

packagist/symfony/mailtrap-mailer/CVE-2026-45755.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 29 May 2026 12:17:46 +0000.