CVE-2026-45754: Symfony's Mailjet Mailer Webhook Parser Never Verifies the Configured Secret — Unauthenticated Webhook Event Injection
Description The Mailjet mailer bridge and the LOX24 SMS notifier bridge both ship webhook request parsers used to authenticate and decode the event callbacks each provider POSTs to an application's webhook endpoint. Their doParse(Request $request, #[\SensitiveParameter] string $secret) methods receive the configured webhook secret but never read it; they convert and return the payload unconditionally.
Published May 28, 2026
Affected packages
symfony/lox24-notifier
- Ecosystem
- Composer (PHP)
- Affected
- >= 7.1.0, < 7.4.12
- Fixed in
- 7.4.12
- Check
composer show symfony/lox24-notifier
symfony/lox24-notifier
- Ecosystem
- Composer (PHP)
- Affected
- >= 8.0.0, < 8.0.12
- Fixed in
- 8.0.12
- Check
composer show symfony/lox24-notifier
symfony/symfony
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.4.0, < 6.4.40
- Fixed in
- 6.4.40
- Check
composer show symfony/symfony
symfony/symfony
- Ecosystem
- Composer (PHP)
- Affected
- >= 7.0.0, < 7.4.12
- Fixed in
- 7.4.12
- Check
composer show symfony/symfony
symfony/symfony
- Ecosystem
- Composer (PHP)
- Affected
- >= 8.0.0, < 8.0.12
- Fixed in
- 8.0.12
- Check
composer show symfony/symfony
symfony/mailjet-mailer
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.4.0, < 6.4.40
- Fixed in
- 6.4.40
- Check
composer show symfony/mailjet-mailer
symfony/mailjet-mailer
- Ecosystem
- Composer (PHP)
- Affected
- >= 7.0.0, < 7.4.12
- Fixed in
- 7.4.12
- Check
composer show symfony/mailjet-mailer
symfony/mailjet-mailer
- Ecosystem
- Composer (PHP)
- Affected
- >= 8.0.0, < 8.0.12
- Fixed in
- 8.0.12
- Check
composer show symfony/mailjet-mailer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Description
The Mailjet mailer bridge and the LOX24 SMS notifier bridge both ship webhook request parsers used to authenticate and decode the event callbacks each provider POSTs to an application's webhook endpoint. Their doParse(Request $request, #[\SensitiveParameter] string $secret) methods receive the configured webhook secret but never read it; they convert and return the payload unconditionally.
As a result, an application that wires up either webhook endpoint accepts any POST to that URL, even when a webhook secret is configured (the recommended setup). An attacker who knows the endpoint exists can submit forged event payloads, fake bounce / blocked / spam / open / click / delivery events, leading to suppression-list corruption, delivery-metrics fraud, etc.
Resolution
MailjetRequestParser::doParse() now rejects the request unless it carries the expected HTTP Basic credentials, Mailjet's webhook authentication mechanism, using a constant-time comparison. The configured webhook secret is matched against the credentials embedded in the Mailjet webhook URL as user:password (use :password when the URL has no username).
Lox24RequestParser::doParse() now rejects the request unless it carries an X-LOX24-Token HTTP header whose value matches the configured secret, using a constant-time comparison. The same token must be configured in the LOX24 dashboard under the callback settings.
When no secret is configured the behaviour is unchanged: webhook authentication remains opt-in, but it is now actually enforced once opted in.
The Mailjet patch is available here for branch 6.4.
The LOX24 patch is available here for branch 7.4 (the LOX24 bridge was introduced in 7.1 and is not present in 6.4).
Credits
Symfony would like to thank Himanshu Anand for reporting the issue, and Alexandre Daubois and Nicolas Grekas for providing the fixes.
Credited to alexandre-daubois, nicolas-grekas, unknownhad.
References
- https://github.com/symfony/symfony/security/advisories/GHSA-64hg-93w9-fc35
- https://github.com/symfony/symfony/commit/4aaa45dd054f73445f1ab254968b7e60b546cc77
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/lox24-notifier/CVE-2026-45754.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/mailjet-mailer/CVE-2026-45754.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45754.yaml
- https://symfony.com/cve-2026-45754
- https://github.com/advisories/GHSA-64hg-93w9-fc35
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-108082
Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header
high8.7Oct 27, 2026CVE-2026-109413
Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process
high8.7Oct 27, 2026CVE-2026-48489
Symfony: Security Firewall Bypass via failure_forward Subrequest: Unauthenticated Access to access_control-Protected GET Routes
highJun 15, 2026CVE-2026-48736
Symfony: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient
medium6.3Jun 15, 2026CVE-2026-48747
Symfony: Mailomat Mailer Webhook Parser Reads the HMAC Algorithm from the Request: Signature Algorithm Downgrade
mediumJun 15, 2026CVE-2026-48760
Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defense
mediumJun 15, 2026
