All reports
Critical

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

Affected versions

Affected versions
>= 5.3.0, < 5.3.7
Fixed version
5.3.7
Affected versions
>= 5.2.0, < 5.2.15
Fixed version
5.2.15
Affected versions
>= 5.1.0, < 5.1.10
Fixed version
5.1.10
Affected versions
>= 5.3.0, < 5.3.7
Fixed version
5.3.7
Affected versions
>= 5.1.0, < 5.1.10
Fixed version
5.1.10
Affected versions
>= 5.2.0, < 5.2.15
Fixed version
5.2.15

Exploitation

CVE-2026-77635

Probability of exploitation in the next 30 days: 0.49%

FIRST EPSS · 2026-11-23

Description

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.

Links