Advisory record · GHSA-fxf7-vhh8-7vpq

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

CVSS 9.2 CriticalCriticalEPSS 0.0049 · 42nd percentile

Critical, because:

  • CVSS score 9.2: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 8 Sept 2026, 20:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
cakephp/cakephpPackagist>=5.3.0, <5.3.7 || >=5.2.0, <5.2.15 || >=5.1.0, <5.1.105.3.7, 5.2.15, 5.1.10
cakephp/databasePackagist>=5.3.0, <5.3.7 || >=5.2.0, <5.2.15 || >=5.1.0, <5.1.105.3.7, 5.2.15, 5.1.10
Identifiers
GHSA-fxf7-vhh8-7vpq · CVE-2026-77635 · PKSA-d2h7-11vv-v66p · PKSA-xyyq-wf7k-89mv
Weakness (CWE)
CWE-89
Published
8 Sept 2026
Updated
8 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

CakePHP's FunctionsBuilder::jsonValue() method, when used with the PostgreSQL driver, is vulnerable to SQL injection in the cakephp/cakephp and cakephp/database Packagist packages, versions from 5.1.0 to before 5.1.10, 5.2.0 to before 5.2.15, and 5.3.0 to before 5.3.7. An attacker would need to influence the jsonPath parameter with user-controlled data, which could allow them to inject SQL into queries. Upgrade to 5.1.10, 5.2.15, 5.3.7, or a later release in the relevant series; until then, do not pass user-controlled data to that parameter.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.2 Critical 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0049, the 42nd percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:06 UTC First seen by agentprime
  2. 31 Oct 2026, 14:06 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.