SQL Injection Affecting symfony/cache package, versions <5.4.52>=6.0.0-BETA1, <6.4.40>=7.0.0-BETA1, <7.4.12>=8.0.0-BETA1, <8.0.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (34th 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYMFONYCACHE-16789620
  • published21 May 2026
  • disclosed20 May 2026
  • creditUnknown

Introduced: 20 May 2026

CVE-2026-45073  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade symfony/cache to version 5.4.52, 6.4.40, 7.4.12, 8.0.12 or higher.

Overview

symfony/cache is a cache component provides an extended PSR-6 implementation for adding cache to your applications.

Affected versions of this package are vulnerable to SQL Injection via PdoAdapter::doClear() method. An attacker can influence SQL query to expand deletion scope or perform arbitrary actions by modifying $prefix argument.

CVSS Base Scores

version 4.0
version 3.1