CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated collation values to StringExpression and IdentifierExpression
Affects cakephpSource GCVE Database
Not known to be exploited · CVSS 9.2 Critical.
Data as of 5 Nov 2026, 12:35 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 9.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.1 |
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTScakephppkg:deb/ubuntu/cakephp?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTScakephppkg:deb/ubuntu/cakephp?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTScakephppkg:deb/ubuntu/cakephp?arch=source&distro=esm-apps-legacy/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated collation values to StringExpression and IdentifierExpression. Attackers controlling a collation name passed to the constructor or setCollation() can append SQL after the unquoted COLLATE clause, affecting every database driver within the connection's privileges.
References
- ubuntu.com/security/CVE-2026-119419 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-119419 (opens in a new tab)
- abraxaslabs.tech/research/cakephp-collate-sqli (opens in a new tab)
- github.com/cakephp/cakephp (opens in a new tab)
- github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/IdentifierExpression.php (opens in a new tab)
- github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/StringExpression.php (opens in a new tab)
- github.com/cakephp/cakephp/commit/21951faea40060dcc5cc1da3159056df66816d3c (opens in a new tab)
- github.com/cakephp/cakephp/commit/ac07372e6a3045ce2030701a5bc5ed71aa2b4b82 (opens in a new tab)
- github.com/cakephp/cakephp/commit/ae8c354cf825aeb7090ea4b48ce98142446f3ac9 (opens in a new tab)
- github.com/cakephp/cakephp/commit/d04d342c3d1e0bac7ce7661bc098902cc412e595 (opens in a new tab)
- github.com/cakephp/cakephp/pull/19726 (opens in a new tab)
- vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-stringexpression-and-identifierexpression-collation (opens in a new tab)