CVE-2026-77635

Summary

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 Software

VendorProductVersion RangeStatus
cakephpcakephp>= 5.1.0, < 5.1.10affected
cakephpcakephp>= 5.2.0, < 5.2.15affected
cakephpcakephp>= 5.3.0, < 5.3.7affected
cakephpcakephp/database>= 5.1.0, < 5.1.10affected
cakephpcakephp/database>= 5.2.0, < 5.2.15affected
cakephpcakephp/database>= 5.3.0, < 5.3.7affected

Weaknesses

  • CWE-89: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

References