Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Doctrine DBAL versions 3.0.0 through 3.1.3 are vulnerable to SQL injection in the LIMIT clause generation of the Platform abstraction. The source suggests an attacker can exploit this when unsanitized input reaches DBAL or ORM APIs that call modifyLimitQuery, though it does not spell out the attacker's required access. Upgrade to doctrine/dbal 3.1.4. As a workaround, cast all limit and offset parameters to integers before passing them to Doctrine APIs.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.024, the 84th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:25 UTC First seen by agentprime
- 31 Oct 2026, 14:25 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r7cj-8hjg-x622
- OSV: GHSA-r7cj-8hjg-x622
- github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622
- nvd.nist.gov/vuln/detail/CVE-2021-43608
- github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d
- github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/CVE-2021-43608.yaml
- github.com/doctrine/dbal
- github.com/doctrine/dbal/releases
- www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html