CVE-2026-77635

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

Published Aug 24, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fxf7-vhh8-7vpq CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
History
Type Values Removed Values Added
First Time appeared Cakephp
Cakephp cakephp
Cakephp cakephp/database
Vendors & Products Cakephp
Cakephp cakephp
Cakephp cakephp/database
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 9.2, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 25, 2026, 1:31 PM
Reserved
Aug 20, 2026, 8:52 PM
Status
Deferred
Published
Aug 24, 2026, 9:17 PM
Modified
Oct 12, 2026, 9:10 PM