Security Digest · Vulnerability record

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

CakePHP is a rapid development framework for PHP.

CVSS 9.2 Critical EPSS 0.5% · p41

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
  • EPSS 0.5%, percentile 41: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 41% of all scored CVEs (low). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes cakephp/cakephp (Composer (PHP)) >= 5.3.0, < 5.3.7, fixed in 5.3.7; cakephp/cakephp (Composer (PHP)) >= 5.2.0, < 5.2.15, fixed in 5.2.15; cakephp/cakephp (Composer (PHP)) >= 5.1.0, < 5.1.10, fixed in 5.1.10; cakephp/database (Composer (PHP)) >= 5.3.0, < 5.3.7, fixed in 5.3.7. Check your lockfile, including transitive dependencies.

What it is

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.

From the GitHub advisory

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.

Weakness type: CWE-89.

Product: cakephp/cakephp (Composer (PHP)) · Assigned by: GitHub_M · Published: 2026-08-24

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Composer (PHP)cakephp/cakephp>= 5.3.0, < 5.3.75.3.7
Composer (PHP)cakephp/cakephp>= 5.2.0, < 5.2.155.2.15
Composer (PHP)cakephp/cakephp>= 5.1.0, < 5.1.105.1.10
Composer (PHP)cakephp/database>= 5.3.0, < 5.3.75.3.7
Composer (PHP)cakephp/database>= 5.2.0, < 5.2.155.2.15
Composer (PHP)cakephp/database>= 5.1.0, < 5.1.105.1.10
VendorProductAffected versions (per CVE record)
cakephpcakephp>= 5.1.0, < 5.1.10, >= 5.2.0, < 5.2.15, >= 5.3.0, < 5.3.7
cakephpcakephp/database>= 5.1.0, < 5.1.10, >= 5.2.0, < 5.2.15, >= 5.3.0, < 5.3.7

Severity scores

Scored byCVSSScoreVector
GitHub_M4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
GitHub4.09.2 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/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
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: present (depends on deployment conditions)
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation none, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 0.49% probability of exploitation activity in the next 30 days; percentile 41.

Timeline

  • — CVE record published by GitHub_M
  • — CVE record last updated
  • — GitHub-reviewed advisory GHSA-fxf7-vhh8-7vpq published (critical)

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-fxf7-vhh8-7vpq github.com
  2. CVE.org record CVE-2026-77635 cve.org
  3. NVD entry CVE-2026-77635 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. github.com github.com
  4. github.com github.com
  5. github.com github.com
  6. github.com github.com
  7. github.com github.com

Critical Composer (PHP) advisories · Today’s Security Digest