CVE-2026-77635

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

State
Published
Severity
9.2 Critical
Published
Aug 24, 2026
Updated
Aug 25, 2026
Reserved
Aug 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
cakephpcakephp
  • >= 5.1.0, < 5.1.10Affected
  • >= 5.2.0, < 5.2.15Affected
  • >= 5.3.0, < 5.3.7Affected
cakephp/databasecakephp
  • >= 5.1.0, < 5.1.10Affected
  • >= 5.2.0, < 5.2.15Affected
  • >= 5.3.0, < 5.3.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.