medium CVSS 5.3 EPSS 0.27%

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 php

Defensia 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 forgery

WAF 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

  1. Check Symfony version: grep -r '"version"' vendor/symfony/symfony/composer.json | head -1
  2. Verify Mailtrap webhook handler exists: find . -type f -name '*MailtrapRequestParser*' 2>/dev/null
  3. 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
  4. 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

CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2025-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.

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