Symfony's Mailjet Mailer Webhook Parser Never Verifies the Configured Secret — Unauthenticated Webhook Event InjectionGHSA-64hg-93w9-fc35
Fix: symfony/symfony@4aaa45dGHSA-64hg-93w9-fc35 is a Improper Authentication vulnerability in symfony/lox24-notifier. A fix is available for symfony/lox24-notifier — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-64hg-93w9-fc35.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
symfony/lox24-notifier🐘symfony/lox24-notifier🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony🐘symfony/mailjet-mailer🐘symfony/mailjet-mailer🐘symfony/mailjet-mailerReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | symfony/lox24-notifier | ≥ 7.1.0&&< 7.4.12 | 7.4.12composer require symfony/lox24-notifier:^7.4.12 |
| 🐘Packagist | symfony/lox24-notifier | ≥ 8.0.0&&< 8.0.12 | 8.0.12composer require symfony/lox24-notifier:^8.0.12 |
| 🐘Packagist | symfony/symfony | ≥ 6.4.0&&< 6.4.40 | 6.4.40composer require symfony/symfony:^6.4.40 |
| 🐘Packagist | symfony/symfony | ≥ 7.0.0&&< 7.4.12 | 7.4.12composer require symfony/symfony:^7.4.12 |
| 🐘Packagist | symfony/symfony | ≥ 8.0.0&&< 8.0.12 | 8.0.12composer require symfony/symfony:^8.0.12 |
| 🐘Packagist | symfony/mailjet-mailer | ≥ 6.4.0&&< 6.4.40 | 6.4.40composer require symfony/mailjet-mailer:^6.4.40 |
Affected Products
symfonysensiolabsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symfony/lox24-notifier, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update symfony/lox24-notifier to 7.4.12 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-64hg-93w9-fc35 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is GHSA-64hg-93w9-fc35 in your dependencies?
Find it across Packagist, including transitive dependencies.