Skip to main content

CakePHP CVE-2026-77635

| EUVDEUVD-2026-65121 CRITICAL
SQL Injection (CWE-89)
2026-08-24 GitHub_M
9.2
CVSS 4.0 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
9.2 CRITICAL
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
vuln.today AI
7.7 HIGH

Network SQLi with no auth or interaction (PR:N/UI:N), but AC:H reflects the required Postgres driver plus application passing user data into jsonPath; SQLi yields high confidentiality/integrity and low availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

4
Source Code Evidence Fetched
Aug 24, 2026 - 21:21 vuln.today
Analysis Generated
Aug 24, 2026 - 21:21 vuln.today
Patch available
Aug 24, 2026 - 21:02 EUVD
CVE Published
Aug 24, 2026 - 20:30 cve.org
CRITICAL 9.2

DescriptionCVE.org

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.

AnalysisAI

SQL injection in CakePHP's database layer allows attackers to inject arbitrary SQL when an application uses FunctionsBuilder::jsonValue() with the PostgreSQL driver and passes user-controlled data into the jsonPath parameter. Affected release lines are 5.1.x before 5.1.10, 5.2.x before 5.2.15, and 5.3.x before 5.3.7; the root cause is the jsonPath value being interpolated into the generated ::jsonpath expression rather than bound as a parameter. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Identify Postgres-backed CakePHP endpoint using jsonValue
Delivery
Submit crafted jsonPath in request
Exploit
Break out of ::jsonpath expression
Execution
Inject arbitrary SQL
Impact
Exfiltrate or modify database data

Vulnerability AssessmentAI

Exploitation Two concrete conditions are required: (1) the application must use CakePHP's PostgresDriver (PostgreSQL backend) - this is the AT:P attack requirement, and MySQL/SQLite/SQL Server deployments are not affected; and (2) application code must pass user-controlled input into the jsonPath (second) argument of FunctionsBuilder::jsonValue(). … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 base score is 9.2 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L): network-reachable, low-complexity, unauthenticated, with high confidentiality and integrity impact and low availability impact. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario A CakePHP application running on PostgreSQL exposes a search or filtering feature that forwards a user-supplied JSON path into $query->func()->jsonValue('column', $userInput). The attacker submits a crafted jsonPath such as "x')) > '0' OR (SELECT 1) --", breaking out of the intended jsonpath expression to inject arbitrary SQL and read or alter database contents. …
Remediation Vendor-released patch: upgrade to CakePHP 5.1.10, 5.2.15, or 5.3.7 according to your release line (release tags https://github.com/cakephp/cakephp/releases/tag/5.1.10, /5.2.15, /5.3.7; fix commit 138f2f61486532c29ee4d106da2a9848c1ff1ab3). … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, identify all systems using CakePHP 5.1.x, 5.2.x, or 5.3.x with PostgreSQL databases and audit for use of FunctionsBuilder::jsonValue(). …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-77635 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy