NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-77635: CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver

criticalCVSS 4.0 9.2GHSA-fxf7-vhh8-7vpq

Impact The FunctionsBuilder::jsonValue($field, $jsonPath) methods with the Postgres driver is vulnerable to SQL injection if user controlled data is supplied to the $jsonPath parameter. Patches 5.1.10, 5.2.15, 5.3.7 Workarounds Don't provide user controlled data to these functions/parameters.

Published Sep 8, 2026

Affected packages

cakephp/cakephp

Ecosystem
Composer (PHP)
Affected
>= 5.3.0, < 5.3.7
Fixed in
5.3.7
Check
composer show cakephp/cakephp

cakephp/cakephp

Ecosystem
Composer (PHP)
Affected
>= 5.2.0, < 5.2.15
Fixed in
5.2.15
Check
composer show cakephp/cakephp

cakephp/cakephp

Ecosystem
Composer (PHP)
Affected
>= 5.1.0, < 5.1.10
Fixed in
5.1.10
Check
composer show cakephp/cakephp

cakephp/database

Ecosystem
Composer (PHP)
Affected
>= 5.3.0, < 5.3.7
Fixed in
5.3.7
Check
composer show cakephp/database

cakephp/database

Ecosystem
Composer (PHP)
Affected
>= 5.2.0, < 5.2.15
Fixed in
5.2.15
Check
composer show cakephp/database

cakephp/database

Ecosystem
Composer (PHP)
Affected
>= 5.1.0, < 5.1.10
Fixed in
5.1.10
Check
composer show cakephp/database

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

The FunctionsBuilder::jsonValue($field, $jsonPath) methods with the Postgres driver is vulnerable to SQL injection if user controlled data is supplied to the $jsonPath parameter.

Patches

5.1.10, 5.2.15, 5.3.7

Workarounds

Don't provide user controlled data to these functions/parameters.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries