9.2
CRITICAL CVSS 4.0
CVE-2026-77635
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
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.

INFO

Published Date :

Aug. 24, 2026, 9:17 p.m.

Last Modified :

Aug. 24, 2026, 9:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-77635 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Cakephp cakephp
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 CRITICAL [email protected]
Solution
Update CakePHP to a patched version to fix SQL injection vulnerability.
  • Update CakePHP to version 5.1.10 or later.
  • Update CakePHP to version 5.2.15 or later.
  • Update CakePHP to version 5.3.7 or later.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-77635 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-77635 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-77635 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Aug. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'cakephp', 'product': 'cakephp', 'versions': [{'status': 'affected', 'version': '>= 5.1.0, < 5.1.10'}, {'status': 'affected', 'version': '>= 5.2.0, < 5.2.15'}, {'status': 'affected', 'version': '>= 5.3.0, < 5.3.7'}]}, {'vendor': 'cakephp', 'product': 'cakephp/database', 'versions': [{'status': 'affected', 'version': '>= 5.1.0, < 5.1.10'}, {'status': 'affected', 'version': '>= 5.2.0, < 5.2.15'}, {'status': 'affected', 'version': '>= 5.3.0, < 5.3.7'}]}]
    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.
    Added CVSS V4.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
    Added CWE CWE-89
    Added Reference https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3
    Added Reference https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55
    Added Reference https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f
    Added Reference https://github.com/cakephp/cakephp/releases/tag/5.1.10
    Added Reference https://github.com/cakephp/cakephp/releases/tag/5.2.15
    Added Reference https://github.com/cakephp/cakephp/releases/tag/5.3.7
    Added Reference https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.