CVE-2026-77635 PUBLISHED

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

Assigner: GitHub_M
Reserved: 20.08.2026 Published: 24.08.2026 Updated: 25.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
CVSS Score: 9.2

Product Status

Vendor cakephp
Product cakephp
Versions
  • Version >= 5.1.0, < 5.1.10 is affected
  • Version >= 5.2.0, < 5.2.15 is affected
  • Version >= 5.3.0, < 5.3.7 is affected
Vendor cakephp
Product cakephp/database
Versions
  • Version >= 5.1.0, < 5.1.10 is affected
  • Version >= 5.2.0, < 5.2.15 is affected
  • Version >= 5.3.0, < 5.3.7 is affected

References

Problem Types

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