---
title: "CVE-2026-77635: CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver"
url: https://erroneo.us/security/cve/CVE-2026-77635/
description: "CVE-2026-77635 (cakephp/cakephp (Composer (PHP))): CakePHP is a rapid development framework for PHP. Prior to versions 5.1.10, 5.2.15, and 5.3.7 on their…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-08-24
date_modified: 2026-09-08
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-77635"
kev: false
cvss: 9.2
epss: 0.00493
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- 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.

## Affected packages

- Composer (PHP) `cakephp/cakephp` >= 5.3.0, < 5.3.7 → fixed: 5.3.7
- Composer (PHP) `cakephp/cakephp` >= 5.2.0, < 5.2.15 → fixed: 5.2.15
- Composer (PHP) `cakephp/cakephp` >= 5.1.0, < 5.1.10 → fixed: 5.1.10
- Composer (PHP) `cakephp/database` >= 5.3.0, < 5.3.7 → fixed: 5.3.7
- Composer (PHP) `cakephp/database` >= 5.2.0, < 5.2.15 → fixed: 5.2.15
- Composer (PHP) `cakephp/database` >= 5.1.0, < 5.1.10 → fixed: 5.1.10

## Affected products (CVE record)

- cakephp cakephp: >= 5.1.0, < 5.1.10, >= 5.2.0, < 5.2.15, >= 5.3.0, < 5.3.7
- cakephp cakephp/database: >= 5.1.0, < 5.1.10, >= 5.2.0, < 5.2.15, >= 5.3.0, < 5.3.7

## Severity

- GitHub_M CVSS 4.0: 9.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`
- GitHub CVSS 4.0: 9.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`

## Exploitation

- 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.

## Sources

- [GitHub Advisory GHSA-fxf7-vhh8-7vpq](https://github.com/advisories/GHSA-fxf7-vhh8-7vpq)
- [CVE.org record CVE-2026-77635](https://www.cve.org/CVERecord?id=CVE-2026-77635)
- [NVD entry CVE-2026-77635](https://nvd.nist.gov/vuln/detail/CVE-2026-77635)
- [github.com](https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq)
- [github.com](https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3)
- [github.com](https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55)
- [github.com](https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f)
- [github.com](https://github.com/cakephp/cakephp/releases/tag/5.1.10)
- [github.com](https://github.com/cakephp/cakephp/releases/tag/5.2.15)
- [github.com](https://github.com/cakephp/cakephp/releases/tag/5.3.7)

---
Source page: https://erroneo.us/security/cve/CVE-2026-77635/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
