CVE-2026-79752 — CakePHP: Multiple methods in cakephp/cakephp —...
CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection
Summary
Advisory Timeline
- First published September 17, 2026 (25 days ago).
- Last revised September 24, 2026 — 7 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "cakephp/cakephp:^4.6.5"
composer require "cakephp/database:^5.3.7"
composer require "cakephp/cakephp:^5.3.7"
composer require "cakephp/cakephp:^5.1.9"
composer require "cakephp/cakephp:^5.2.14"
composer require "cakephp/database:^5.1.9"
composer require "cakephp/database:^4.6.5"
composer require "cakephp/cakephp:^4.5.12"
composer require "cakephp/database:^5.2.14"
composer require "cakephp/database:^4.5.12"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (10)
Affects 1 ecosystem: packagist (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| cakephp/cakephp | packagist | 4.6.0, 4.6.1, 4.6.2, 4.6.3 (+1 more) | 4.6.5 |
| cakephp/database | packagist | 5.3.0, 5.3.2, 5.3.3, 5.3.4 (+2 more) | 5.3.7 |
| cakephp/cakephp | packagist | 5.3.0, 5.3.1, 5.3.2, 5.3.3 (+3 more) | 5.3.7 |
| cakephp/cakephp | packagist | 5.0.0, 5.0.1, 5.0.10, 5.0.11 (+18 more) | 5.1.9 |
| cakephp/cakephp | packagist | 5.2.0, 5.2.1, 5.2.10, 5.2.11 (+10 more) | 5.2.14 |
| cakephp/database | packagist | 5.0.0, 5.0.10, 5.0.11, 5.0.2 (+16 more) | 5.1.9 |
| cakephp/database | packagist | 4.6.0, 4.6.1, 4.6.2, 4.6.3 | 4.6.5 |
| cakephp/cakephp | packagist | 2.10.0, 2.10.0-RC1, 2.10.1, 2.10.10 (+386 more) | 4.5.12 |
| cakephp/database | packagist | 5.2.0, 5.2.1, 5.2.10, 5.2.11 (+10 more) | 5.2.14 |
| cakephp/database | packagist | 3.0.0, 3.0.1, 3.0.10, 3.0.12 (+267 more) | 4.5.12 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
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
References
- https://github.com/cakephp/cakephp/security/advisories/GHSA-vjqc-q4mp-2rvfWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-79752ADVISORY
- https://github.com/cakephp/cakephp/pull/19528WEB
- https://github.com/cakephp/cakephp/pull/19520WEB
- https://github.com/cakephp/cakephp/commit/79e1d6bc6f3a50fa01805579076a02c77370c676WEB
- https://github.com/cakephp/cakephp/commit/8699d6f38e25fe46fcc24f2b698809948e71ad7dWEB
- https://github.com/cakephp/cakephp/commit/ab608711674ac662af7315c5cdf1e0fbe2000e45WEB
- https://github.com/cakephp/cakephp/commit/4730e774bd3b9caa90d67af49e27a12033ec3c71WEB
- https://github.com/cakephp/cakephp/commit/3f4d13ea4280067f3381ecf935a8bef5b7cdcc2eWEB
- https://github.com/cakephp/cakephp/commit/3349584ca3a891afaff2dbc324d6b1c09fb880f0WEB
- https://github.com/cakephp/cakephp/releases/tag/4.5.12WEB
- https://github.com/cakephp/cakephp/releases/tag/4.6.5WEB
- https://github.com/cakephp/cakephp/releases/tag/5.1.8WEB
- https://github.com/cakephp/cakephp/releases/tag/5.1.9WEB
- https://github.com/cakephp/cakephp/releases/tag/5.2.14WEB
- https://github.com/cakephp/cakephp/releases/tag/5.3.7WEB
- https://github.com/cakephp/cakephpPACKAGE
Frequently Asked Questions
- What is CVE-2026-79752?
- CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2026-79752?
- CVE-2026-79752 affects cakephp/cakephp and cakephp/database. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-79752 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107845CRITICAL
Contao: Cross-site scripting in the comments bundle
- CVE-2023-22727CRITICAL
CakePHP Database\\Query::offset() and limit() methods are vulnerable to SQL injection
- CVE-2026-77635CRITICAL
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
- CVE-2026-92161CRITICAL
FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies