Doctrine DBAL SQL injection possibility
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
The identifier quoting in Doctrine DBAL has a potential security problem when user-input is passed into this function, making the security aspect of this functionality obsolete. If you make use of AbstractPlatform::quoteIdentifier() or Doctrine::quoteIdentifier() please upgrade immediately. The ORM itself does not use identifier quoting in combination with user-input, however we still urge everyone to update to the latest version of DBAL.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | doctrine/dbal (Packagist) | 2.0.0 to before 2.0.8 | 2.0.8 | Patch available | GHSA-76w8-mqx4-wjrf |
| — | doctrine/dbal (Packagist) | 2.1.0 to before 2.1.2 | 2.1.2 | Patch available | GHSA-76w8-mqx4-wjrf |
- doctrine/dbal (Packagist) Vendor— Affected 2.0.0 to before 2.0.8 Fixed in 2.0.8 Patch available GHSA-76w8-mqx4-wjrf
- doctrine/dbal (Packagist) Vendor— Affected 2.1.0 to before 2.1.2 Fixed in 2.1.2 Patch available GHSA-76w8-mqx4-wjrf
Remediation
- Fix · GHSA-76w8-mqx4-wjrf doctrine/dbal (Packagist) Fixed in 2.0.8 Advisory →
- Fix · GHSA-76w8-mqx4-wjrf doctrine/dbal (Packagist) Fixed in 2.1.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-76w8-mqx4-wjrf
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences