Skip to main content
← All vulnerabilities
CVE-2026-77635GHSA-FXF7-VHH8-7VPQ

CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.1.10, 5.2.15, 5.3.7
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • cakephp cakephp

    From 5.1.0 · fixed in 5.1.10; From 5.2.0 · fixed in 5.2.15; From 5.3.0 · fixed in 5.3.7

  • cakephp cakephp/database

    From 5.1.0 · fixed in 5.1.10; From 5.2.0 · fixed in 5.2.15; From 5.3.0 · fixed in 5.3.7

  • cakephp/cakephpPackagist

    From 5.3.0 · fixed in 5.3.7

  • cakephp/cakephpPackagist

    From 5.2.0 · fixed in 5.2.15

  • cakephp/cakephpPackagist

    From 5.1.0 · fixed in 5.1.10

  • cakephp/databasePackagist

    From 5.3.0 · fixed in 5.3.7

  • cakephp/databasePackagist

    From 5.2.0 · fixed in 5.2.15

  • cakephp/databasePackagist

    From 5.1.0 · fixed in 5.1.10

References 8

GitHub · cakephp/cakephp

GitHub · abraxas/CVE-2026-77635