Advisory record · GHSA-r7cj-8hjg-x622

DBAL 3 SQL Injection Security Vulnerability

CVSS 9.8 CriticalCriticalEPSS 0.024 · 84th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 16 Nov 2021, 17:25 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
doctrine/dbalPackagist>=3.0.0, <3.1.43.1.4
Identifiers
GHSA-r7cj-8hjg-x622 · CVE-2021-43608 · PKSA-zr2w-r29k-4d9q
Weakness (CWE)
CWE-89
Published
16 Nov 2021
Updated
8 Jul 2026

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.

Written 3 Nov 2026.

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

ScoreRatingCVSSVectorSource
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

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.