CVE-2026-77635: Vulnerability in cakephp/cakephp

Critical. 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.

Packagist, CWE-89

Exploitation
None confirmed
Severity
9.2 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-fxf7-vhh8-7vpq
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-89
Published
24 Aug 2026
Last change
12 Oct 2026
Ecosystem
Packagist

Affected packages

Vulnerable version ranges and fixed releases

  • cakephp/cakephp Packagist, Affected from 5.3.0 before 5.3.7. Fixed in 5.3.7
  • cakephp/database Packagist, Affected from 5.3.0 before 5.3.7. Fixed in 5.3.7

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes