CVE-2026-45755·PHP vulnerability
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.
- Severity
- medium
- Software
- PHP
- Fixed in
- 8.0.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.27% — higher than 18% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 8.0.0
Until: 8.0.12
Fixed in: 8.0.12
How to fix this CVE
Update Symfony to version 8.0.12 or later to restore signature validation on Mailtrap webhook requests. The vulnerable versions failed to validate the X-Mt-Signature HMAC header, allowing attackers to forge webhook events without authentication. Apply the update immediately if you use Symfony's Mailtrap integration in production.
sudo dnf check-update php && sudo dnf update phpDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST request to webhook endpoint (typically /webhook/mailtrap or similar) without X-Mt-Signature header or with invalid signature; payload contains JSON with event type (delivery|bounce|open|click|spam); response status 200 or 202 indicates successful forgeryWAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement a custom WAF rule requiring the X-Mt-Signature header on all requests to Mailtrap webhook endpoints. Extract the header value and validate it against HMAC-SHA256(webhook_secret, raw_body). Block or challenge requests with missing or invalid signatures with a 401 Unauthorized response.How to check if you are affected
- Check Symfony version: grep -r '"version"' vendor/symfony/symfony/composer.json | head -1
- Verify Mailtrap webhook handler exists: find . -type f -name '*MailtrapRequestParser*' 2>/dev/null
- Inspect webhook endpoint logs for unsigned POST requests: grep -E 'POST.*webhook|mailtrap' /var/log/apache2/access.log /var/log/nginx/access.log 2>/dev/null
- Confirm the patch: php -r "echo phpversion('symfony');" and verify it is >= 8.0.12
FAQ
What is CVE-2026-45755?
This vulnerability affects Symfony's Mailtrap webhook parser, which failed to validate HMAC signatures on incoming webhook events. Attackers could send unauthenticated POST requests to inject forged delivery, bounce, open, click, or spam notifications without possessing the webhook secret.
Is CVE-2026-45755 being actively exploited?
No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits have been disclosed, though the attack is straightforward to execute.
What versions of PHP are affected by CVE-2026-45755?
Symfony versions 8.0.0 through 8.0.11 are vulnerable. Version 7.4.12 and earlier (7.4.x branch) are also affected and require updates to 7.4.12 or later.
How do I check if my server is vulnerable to CVE-2026-45755?
Run `composer show symfony/symfony` to display the installed version. If it shows 8.0.0–8.0.11, your system is vulnerable and requires immediate patching to 8.0.12 or above.
Does Defensia detect CVE-2026-45755?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP and Symfony are present on a monitored server, CVE-2026-45755 will appear in your dashboard with remediation steps.
Related PHP CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-45755. Free for 1 server.
Get started free