NetSight
critical9.2

CVE-2026-77635

CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver

Impact

CakePHP is a rapid development framework for PHP. Prior to versions 5.1.10, 5.2.15, and 5.3.7 on their respective release lines, FunctionsBuilder::jsonValue() with PostgresDriver is vulnerable to SQL injection when user-controlled data is supplied to the jsonPath parameter. This issue is fixed in versions 5.1.10, 5.2.15, and 5.3.7.

Affected packages

EcosystemPackageAffectedFixed in
composercakephp/cakephp>= 5.3.0, < 5.3.75.3.7
composercakephp/database>= 5.3.0, < 5.3.75.3.7

Weakness classification

References