Skip to content
CVE PROGRAM SOURCE RECORD9.2 Critical

CVE-2026-119419

CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

cakephp cakephp

Default version status: unaffected

  • 0 to ≤ 5.4.3affected
pkg:composer/cakephp/cakephp

References