SQL injection in Symfony - CVE-2026-45073

 

SQL injection in Symfony - CVE-2026-45073

Published: May 21, 2026


Vulnerability identifier: #VU132064
CSH Severity: Low
CVSS v4: 7.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-45073
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL commands.

The vulnerability exists due to SQL injection in PdoAdapter::doClear() when processing a caller-supplied cache key prefix in the non-versioning code path. A remote user can supply a specially crafted prefix value to execute arbitrary SQL commands.

The issue affects the PDO-backed cache adapter's clear($prefix) behavior.


Affected software

Symfony
Debian Linux
symfony (Debian package)

How to mitigate CVE-2026-45073

Install security update from vendor's website.

Symfony - addressed in versions 5.4.52, 6.4.40, 7.4.12, 8.0.12
symfony (Debian package) - addressed in versions 5.4.53+dfsg-0+deb12u1, 6.4.41+dfsg-0+deb13u1

External References

Related Security Bulletins