Skip to content
CVE PROGRAM SOURCE RECORD9.2 Critical

CVE-2026-77635

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

Description

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 products

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

cakephp cakephp

  • >= 5.1.0, < 5.1.10affected
  • >= 5.2.0, < 5.2.15affected
  • >= 5.3.0, < 5.3.7affected

cakephp cakephp/database

  • >= 5.1.0, < 5.1.10affected
  • >= 5.2.0, < 5.2.15affected
  • >= 5.3.0, < 5.3.7affected

References