medium CVSS 5.3 EPSS 0.24%

CVE-2026-47212·PHP vulnerability

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 6.4.40, 7.4.12, and 8.0.12, TwilioRequestParser::doParse() received the configured webhook secret but ignored the X-Twilio-Signature HMAC header, allowing unauthenticated POST requests to inject forged Twilio status payloads. This issue is fixed in versions 6.4.40, 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.24% — higher than 15% 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 patch the Twilio webhook signature validation bypass in the TwilioRequestParser component. The vulnerability allows attackers to forge webhook payloads by circumventing HMAC authentication checks. Ensure all PHP dependencies are updated through your package manager or Composer after patching.

sudo dnf update php

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST request to Twilio webhook endpoint lacking the 'X-Twilio-Signature' header or containing an invalid HMAC value, paired with a Twilio-formatted JSON payload (containing fields like 'MessageSid', 'AccountSid', 'From', 'To') and receiving a 200/202 response

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 WAF rule requiring the X-Twilio-Signature header on all POST requests to Twilio webhook endpoints; reject requests with missing or malformed signature headers before they reach the application. Example: `SecRule REQUEST_METHOD "POST" "chain" --id:1001 SecRule REQUEST_URI "@contains /twilio" "chain" SecRule REQUEST_HEADERS:X-Twilio-Signature "@rx ^(?!.{1,})$" "deny,status:401"`

How to check if you are affected

  1. Step 1: Check the installed Symfony version by running `php -r "require 'vendor/autoload.php'; echo \Symfony\Component\HttpFoundation\Request::class;"` or inspecting composer.lock for symfony/symfony version constraints
  2. Step 2: Identify if TwilioRequestParser is in use by searching your codebase for `TwilioRequestParser` or checking if symfony/twilio-notifier is required
  3. Step 3: Review web server and PHP logs for POST requests to endpoints using TwilioRequestParser without valid X-Twilio-Signature headers; look for patterns like `POST /path/to/twilio/webhook` with response code 200 despite missing authentication headers
  4. Step 4: Verify the patch by running `php -r "require 'vendor/autoload.php'; echo \Symfony\Component\Notifier\Bridge\Twilio\TwilioTransport::class;"` after updating, then confirm composer.lock shows symfony/symfony >= 8.0.12

FAQ

What is CVE-2026-47212?

This vulnerability affects Symfony's TwilioRequestParser class, which fails to validate the X-Twilio-Signature HMAC header despite having the webhook secret available. This allows attackers to inject forged Twilio webhook payloads without authentication.

Is CVE-2026-47212 being actively exploited?

No, there are no known active exploits or public proof-of-concepts for this vulnerability at this time, though it remains a medium-severity risk for applications using Symfony's Twilio integration.

What versions of PHP are affected by CVE-2026-47212?

The vulnerability affects Symfony framework versions 8.0.0 through 8.0.11 (PHP 8.1+), as well as earlier branches 6.4.0-6.4.39 and 7.4.0-7.4.11. The PHP language itself is not the vector; the Symfony framework library is the vulnerable component.

How do I check if my server is vulnerable to CVE-2026-47212?

Run `grep '"symfony/symfony"' composer.lock | head -3` to check the installed version. If it shows a version between 8.0.0 and 8.0.11 (inclusive), and the Twilio notifier bridge is active, your application is vulnerable.

Does Defensia detect CVE-2026-47212?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Symfony is installed on a monitored server, CVE-2026-47212 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-47212. Free for 1 server.

Get started free