Symfony: SQL Injection in PdoAdapter::doClear() via Unsanitized $prefix
Summary
| CVE | CVE-2026-45073 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-14 19:17:06 UTC |
| Updated | 2026-07-15 14:51:54 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 6.3 MEDIUM from [email protected]
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.005360000 probability, percentile 0.415100000 (date 2026-07-15)
Problem Types: CWE-89 | CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 6.3 | MEDIUM | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | DECLARED | 6.3 | MEDIUM | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| 3.1 | [email protected] | Primary | 7.3 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
NoneUser Interaction
NoneConfidentiality
LowIntegrity
LowAvailability
LowSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Sensiolabs | Symfony | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Symfony | Symfony | affected < 5.4.52 | Not specified |
| CNA | Symfony | Symfony | affected >= 6.0.0-BETA1, < 6.4.40 | Not specified |
| CNA | Symfony | Symfony | affected >= 7.0.0-BETA1, < 7.4.12 | Not specified |
| CNA | Symfony | Symfony | affected >= 8.0.0-BETA1, < 8.0.12 | Not specified |
| CNA | Cache | Symfony | affected < 5.4.52 | Not specified |
| CNA | Cache | Symfony | affected >= 6.0.0-BETA1, < 6.4.40 | Not specified |
| CNA | Cache | Symfony | affected >= 7.0.0-BETA1, < 7.4.12 | Not specified |
| CNA | Cache | Symfony | affected >= 8.0.0-BETA1, < 8.0.12 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/symfony/symfony/releases/tag/v5.4.52 | [email protected] | github.com | Product, Release Notes |
| github.com/symfony/symfony/commit/ec50b799d79ebe24561f29351c1efcb6da95c9b1 | [email protected] | github.com | Patch |
| github.com/symfony/symfony/releases/tag/v6.4.40 | [email protected] | github.com | Product, Release Notes |
| github.com/symfony/symfony/releases/tag/v8.0.12 | [email protected] | github.com | Product, Release Notes |
| github.com/symfony/symfony/releases/tag/v7.4.12 | [email protected] | github.com | Product, Release Notes |
| github.com/symfony/symfony/security/advisories/GHSA-6qh9-h6wf-jgqc | [email protected] | github.com | Patch, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.