SQL Injection Affecting cakephp/database package, versions >=5.1.0, <5.1.10>=5.2.0, <5.2.15>=5.3.0, <5.3.7


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CAKEPHPDATABASE-19428442
  • published29 Aug 2026
  • disclosed24 Aug 2026
  • creditUnknown

Introduced: 24 Aug 2026

CVE-2026-77635  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade cakephp/database to version 5.1.10, 5.2.15, 5.3.7 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via the jsonValue function when user-controlled data is supplied to the jsonPath parameter with PostgresDriver. An attacker can execute arbitrary SQL commands by injecting malicious input.

CVSS Base Scores

version 4.0
version 3.1