critical

CVE-2026-77635

Packagist · cakephp/cakephp

Summary

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

Severity
critical
EPSS
0.3% (p22)
CWE
CWE-89
Also known as
GHSA-fxf7-vhh8-7vpq#cakephp/cakephp
Published
2026-09-08
Updated
2026-09-08

Advisory details

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

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.