Improper Verification of Cryptographic Signature Affecting symfony/symfony package, versions <7.4.13>=8.0.0-BETA1, <8.0.13


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYSYMFONY-16895618
  • published27 May 2026
  • disclosed27 May 2026
  • creditAlwaleed Alshamari, Essam Alanazi, KEJJ0

Introduced: 27 May 2026

CVE-2026-48747  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade symfony/symfony to version 7.4.13, 8.0.13 or higher.

Overview

symfony/symfony is a PHP framework for web applications and a set of reusable PHP components.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via the webhook request parser. The validateSignature() method extracts the X-MOM-Webhook-Signature header and passes the user-supplied cryptographic algorithm directly into PHP's hash_hmac() function. This algorithm confusion allowed an attacker to dictate the hashing mechanism used to verify the webhook's authenticity. By supplying a weak, outdated cryptographic primitive (such as MD4 or MD5), an attacker could exploit known cryptanalysis weaknesses to forge valid HMAC signatures and bypass webhook authentication checks. The patch resolves this by strictly enforcing the sha256 algorithm and rejecting any other user-supplied algorithms.

CVSS Base Scores

version 4.0
version 3.1