CVE-2026-45073 — Symfony Vulnerable to SQL Injection in...
Symfony Vulnerable to SQL Injection in PdoAdapter::doClear() via Unsanitized $prefix
Summary
Advisory Timeline
- First published May 27, 2026 (138 days ago).
- Last revised September 10, 2026 — 105 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "symfony/symfony:^7.4.12"
composer require "symfony/symfony:^6.4.40"
composer require "symfony/cache:^7.4.12"
composer require "symfony/cache:^8.0.12"
composer require "symfony/symfony:^8.0.12"
composer require "symfony/symfony:^5.4.52"
composer require "symfony/cache:^5.4.52"
composer require "symfony/cache:^6.4.40"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (8)
Affects 1 ecosystem: packagist (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| symfony/symfony | packagist | v7.0.0, v7.0.1, v7.0.10, v7.0.2 (+66 more) | 7.4.12 |
| symfony/symfony | packagist | v6.0.0, v6.0.1, v6.0.10, v6.0.11 (+116 more) | 6.4.40 |
| symfony/cache | packagist | v7.0.0, v7.0.10, v7.0.2, v7.0.3 (+53 more) | 7.4.12 |
| symfony/cache | packagist | v8.0.0, v8.0.1, v8.0.10, v8.0.3 (+6 more) | 8.0.12 |
| symfony/symfony | packagist | v8.0.0, v8.0.1, v8.0.10, v8.0.11 (+8 more) | 8.0.12 |
| symfony/symfony | packagist | 2.0.4, 2.0.5, 2.0.6, 2.0.7 (+627 more) | 5.4.52 |
| symfony/cache | packagist | v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1 (+316 more) | 5.4.52 |
| symfony/cache | packagist | v6.0.0, v6.0.1, v6.0.10, v6.0.11 (+87 more) | 6.4.40 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.1 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:U
References
- https://github.com/symfony/symfony/security/advisories/GHSA-6qh9-h6wf-jgqcWEB
- https://github.com/symfony/symfony/commit/ec50b799d79ebe24561f29351c1efcb6da95c9bWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/cache/CVE-2026-45073.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45073.yamlWEB
- https://github.com/symfony/symfonyPACKAGE
- https://symfony.com/cve-2026-45073WEB
Frequently Asked Questions
- What is CVE-2026-45073?
- Symfony Vulnerable to SQL Injection in PdoAdapter::doClear() via Unsanitized $prefix This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.1/10).
- How do I check if my project is affected by CVE-2026-45073?
- CVE-2026-45073 affects symfony/symfony and symfony/cache. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-45073 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2019-18889CRITICAL
Symfony Unsafe Cache Serialization Could Enable RCE
- CVE-2019-10910CRITICAL
Symfony Service IDs Allow Injection
- CVE-2017-11365CRITICAL
Symfony Incorrect Access Control
- CVE-2018-11406HIGH
Symfony CSRF Token Fixation
- CVE-2026-45077HIGH
Symfony has Unauthenticated PHP Object Deserialization in MonologBridge server:log Listener
- CVE-2026-45063HIGH
Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator
- CVE-2026-47767MEDIUM
SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch
- CVE-2026-48784MEDIUM
Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies