Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cakephp/database
  4. ›
  5. CVE-2026-77635

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

September 8, 2026

The FunctionsBuilder::jsonValue($field, $jsonPath) methods with the Postgres driver is vulnerable to SQL injection if user controlled data is supplied to the $jsonPath parameter.

References

  • github.com/advisories/GHSA-fxf7-vhh8-7vpq
  • github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3
  • github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55
  • github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f
  • github.com/cakephp/cakephp/releases/tag/5.1.10
  • github.com/cakephp/cakephp/releases/tag/5.2.15
  • github.com/cakephp/cakephp/releases/tag/5.3.7
  • github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq
  • nvd.nist.gov/vuln/detail/CVE-2026-77635

Code Behaviors & Features

Detect and mitigate CVE-2026-77635 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.1.0 before 5.1.10, all versions starting from 5.2.0 before 5.2.15, all versions starting from 5.3.0 before 5.3.7

Fixed versions

  • 5.1.10
  • 5.2.15
  • 5.3.7

Solution

Upgrade to versions 5.1.10, 5.2.15, 5.3.7 or above.

Impact 9.4 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/cakephp/database/CVE-2026-77635.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 09 Sep 2026 12:23:35 +0000.