CVE-2026-77635 — Vulnerability in cakephp/database — CVE Details
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
Summary
Advisory Timeline
- First published September 8, 2026 (34 days ago).
- Last revised September 8, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "cakephp/database:^5.3.7"
composer require "cakephp/cakephp:^5.1.10"
composer require "cakephp/database:^5.2.15"
composer require "cakephp/cakephp:^5.2.15"
composer require "cakephp/cakephp:^5.3.7"
composer require "cakephp/database:^5.1.10"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: packagist (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| cakephp/database | packagist | 5.3.0, 5.3.2, 5.3.3, 5.3.4 (+2 more) | 5.3.7 |
| cakephp/cakephp | packagist | 5.1.0, 5.1.1, 5.1.2, 5.1.4 (+5 more) | 5.1.10 |
| cakephp/database | packagist | 5.2.0, 5.2.1, 5.2.10, 5.2.11 (+11 more) | 5.2.15 |
| cakephp/cakephp | packagist | 5.2.0, 5.2.1, 5.2.10, 5.2.11 (+11 more) | 5.2.15 |
| cakephp/cakephp | packagist | 5.3.0, 5.3.1, 5.3.2, 5.3.3 (+3 more) | 5.3.7 |
| cakephp/database | packagist | 5.1.0, 5.1.1, 5.1.2, 5.1.4 (+4 more) | 5.1.10 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.9 score means for each attack dimension.
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
References
- https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpqWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-77635ADVISORY
- https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3WEB
- https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55WEB
- https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819fWEB
- https://github.com/cakephp/cakephpPACKAGE
- https://github.com/cakephp/cakephp/releases/tag/5.1.10WEB
- https://github.com/cakephp/cakephp/releases/tag/5.2.15WEB
- https://github.com/cakephp/cakephp/releases/tag/5.3.7WEB
Frequently Asked Questions
- What is CVE-2026-77635?
- CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 8.9/10).
- How do I check if my project is affected by CVE-2026-77635?
- CVE-2026-77635 affects cakephp/database and cakephp/cakephp. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-77635 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
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-92161CRITICAL
FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider
- CVE-2026-79752CRITICAL
CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies