CVE-2026-47212: Symfony: Twilio Notifier Webhook Parser Never Verifies the X-Twilio-Signature HMAC: Unauthenticated Webhook Event Injection

Published May 29, 2026
·
Updated

Description

The Twilio SMS notifier bridge ships a webhook request parser used to authenticate and decode the status callbacks Twilio POSTs to an application's webhook endpoint. Its doParse(Request $request, #[\SensitiveParameter] string $secret) method receives the configured webhook secret but never reads it; it decodes and returns the payload unconditionally, ignoring the X-Twilio-Signature HMAC header Twilio sends with each request.

As a result, an application that wires up the Twilio webhook endpoint accepts any POST to that URL, even when a signing secret is configured (the recommended setup). An attacker who knows the endpoint exists can submit forged status payloads, fake delivered / failed / undelivered events, leading to delivery-metrics fraud, downstream automation triggers, etc.

Resolution

TwilioRequestParser::doParse() now requires and verifies the X-Twilio-Signature header (HMAC-SHA1 over the full request URL concatenated with the alphabetically-sorted POST parameters, base64-encoded, keyed with the Twilio account auth token) before further processing, using a constant-time comparison.

When no secret is configured the behaviour is unchanged: signature verification remains opt-in, but it is now actually enforced once opted in.

Applications behind a TLS-terminating reverse proxy must configure framework.trustedproxies and framework.trustedheaders so that Request::getUri() returns the public URL Twilio signed.

The patch for this issue is available here for branch 6.4.

Credits

Symfony would like to thank Himanshu Anand for reporting the issue and Nicolas Grekas for providing the fix.

Other sources

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.

MITRE

Affected Software

9 affected componentsFixes available
composer/symfony/twilio-notifier>=8.0.0<8.0.12
8.0.12
composer/symfony/twilio-notifier>=7.0.0<7.4.12
7.4.12
composer/symfony/twilio-notifier>=6.4.0<6.4.40
6.4.40
composer/symfony/symfony>=8.0.0<8.0.12
8.0.12
composer/symfony/symfony>=7.0.0<7.4.12
7.4.12
composer/symfony/symfony>=6.4.0<6.4.40
6.4.40
SensioLabs Symfony>=6.4.0<6.4.40
SensioLabs Symfony>=7.0.0<7.4.12
SensioLabs Symfony>=8.0.0<8.0.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/symfony/twilio-notifier to a version that resolves this vulnerability.

    Fixed in 8.0.12
  2. Upgrade

    Upgrade composer/symfony/twilio-notifier to a version that resolves this vulnerability.

    Fixed in 7.4.12
  3. Upgrade

    Upgrade composer/symfony/twilio-notifier to a version that resolves this vulnerability.

    Fixed in 6.4.40
  4. Upgrade

    Upgrade composer/symfony/symfony to a version that resolves this vulnerability.

    Fixed in 8.0.12
  5. Upgrade

    Upgrade composer/symfony/symfony to a version that resolves this vulnerability.

    Fixed in 7.4.12
  6. Upgrade

    Upgrade composer/symfony/symfony to a version that resolves this vulnerability.

    Fixed in 6.4.40
  7. Upgrade

    Upgrade Symfony (TwilioRequestParser / Twilio Notifier webhook parser) to a version that resolves this vulnerability.

    Fixed in 6.4.40
  8. Upgrade

    Upgrade Symfony (TwilioRequestParser / Twilio Notifier webhook parser) to a version that resolves this vulnerability.

    Fixed in 7.4.12
  9. Upgrade

    Upgrade Symfony (TwilioRequestParser / Twilio Notifier webhook parser) to a version that resolves this vulnerability.

    Fixed in 8.0.12
  10. Configuration

    Set framework.trusted_proxies and framework.trusted_headers so that Request::getUri() uses the public URL Twilio signed; otherwise signature verification can fail.

    Symfony framework (behind a TLS-terminating reverse proxy) framework.trusted_proxies and framework.trusted_headers = Configure to match the reverse proxy so Request::getUri() returns the public URL Twilio signed

Event History

May 29, 2026
Advisory Published
via GitHub·09:32 PM
Data Sourced
via GitHub·09:32 PM
DescriptionWeaknessAffected Software
Jul 14, 2026
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionWeakness
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-47212?

CVE-2026-47212 has a medium severity rating of 6.9 based on the CVSS scoring system.

2

How do I fix CVE-2026-47212?

To fix CVE-2026-47212, update the Symfony Twilio Notifier package to the latest version that includes the patch for the vulnerability.

3

What kind of attack can be performed due to CVE-2026-47212?

CVE-2026-47212 allows for unauthenticated webhook event injection, potentially enabling attackers to send malicious requests.

4

Is CVE-2026-47212 related to webhook security?

Yes, CVE-2026-47212 pertains to the vulnerability in the Twilio notifier webhook parser that fails to verify HMAC signatures.

5

Which software is affected by CVE-2026-47212?

CVE-2026-47212 affects the Symfony framework, specifically the Twilio Notifier component.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203