Advisory record · GHSA-vjqc-q4mp-2rvf

CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection

CVSS 9.2 CriticalCriticalEPSS 0.0062 · 50th percentile

Critical, because:

  • CVSS score 9.2: 9.0 or more.

How we decide what’s critical

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

PackageEcosystemAffectedFixed in
cakephp/databasePackagist>=3.0.0, <4.5.12 || >=4.6.0, <4.6.5 || >=5.0.0, <5.1.9 || >=5.2.0, <5.2.14 || >=5.3.0, <5.3.74.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
cakephp/cakephpPackagist<4.5.12 || >=4.6.0, <4.6.5 || >=5.0.0, <5.1.9 || >=5.2.0, <5.2.14 || >=5.3.0, <5.3.74.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
Identifiers
GHSA-vjqc-q4mp-2rvf · CVE-2026-79752 · PKSA-ny8z-1rqf-8z42 · PKSA-vxgj-bmcq-9b6x
Weakness (CWE)
CWE-89
Published
17 Sept 2026
Updated
24 Sept 2026

Machine-written summary

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

CakePHP's FunctionsBuilder in the cakephp/cakephp and cakephp/database Packagist packages is vulnerable to SQL injection in its cast, extract, datePart and dateAdd methods. An attacker can exploit this when user-controlled data reaches the dataType, part or unit parameters, and the source does not describe the required access level. Upgrade to cakephp/cakephp 4.5.12, 4.6.5, 5.1.9, 5.2.14 or 5.3.7, or to the matching cakephp/database release; the source's workaround is to avoid passing user-controlled data to these parameters.

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:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0062, the 50th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:54 UTC First seen by agentprime
  2. 31 Oct 2026, 13:54 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.