CVE-2026-45073 Details
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, PdoAdapter::doClear() builds a DELETE statement using a namespace derived from the caller-supplied $prefix without binding or escaping it, allowing a caller able to influence $prefix to break out of the LIKE literal and alter query semantics or deletion scope. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
A SQL injection vulnerability has been identified in the PdoAdapter of Symfony's Cache component, affecting versions prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12. The issue arises in the clear() method, where the $prefix parameter is used to construct a DELETE SQL statement without proper binding or escaping. This allows an attacker to manipulate the $prefix value, break out of the LIKE literal, and alter the query's behavior or the scope of deletion. Although this method is not typically exposed to untrusted input, its design should safely accommodate any prefix string, making the vulnerability a flaw in the adapter's implementation.
Users can update to Symfony versions 5.4.52, 6.4.40, 7.4.12, or 8.0.12 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/symfony/symfony/commit/ec50b799d79ebe24561f29351c1efcb6da95c9b1 | [email protected] | Patch |
| https://github.com/symfony/symfony/releases/tag/v5.4.52 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/releases/tag/v6.4.40 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/releases/tag/v7.4.12 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/releases/tag/v8.0.12 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/security/advisories/GHSA-6qh9-h6wf-jgqc | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sensiolabs symfony | < 5.4.52 >= 6.0.0, < 6.4.40 >= 7.0.0, < 7.4.12 >= 8.0.0, < 8.0.12 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | Initial Analysis | [email protected] |
| Jul 14, 2026 | CVE Modified | CISA-ADP |
| Jul 14, 2026 | New CVE Received | [email protected] |