← Back to search

CVE-2026-119419

8.1 HIGHpublic exploit available

Published 2026-10-30 · Updated 2026-11-04

AI risk analysis

Summary
SQL injection in CakePHP via unvalidated collation names passed to StringExpression and IdentifierExpression allows attackers to append arbitrary SQL after the COLLATE clause, affecting all database operations within the connection's privileges.
Exploitability
Exploitation requires control over a collation name supplied to StringExpression or IdentifierExpression, with high attack complexity due to the need to craft valid yet malicious collation values that bypass initial parsing.
Blast radius
Successful exploitation grants full database access (read, modify, delete) for the application's database user, potentially compromising all data and enabling lateral movement if credentials are reused.
Detection
Monitor database query logs for unexpected syntax after COLLATE clauses (e.g., trailing semicolons, UNION, SELECT, or comment sequences like -- or /*) originating from application-layer SQL generation; also watch for anomalous collation values in HTTP request parameters if user-controlled input reaches the expression constructors.
Prioritized remediation
Upgrade to CakePHP 5.4.4 or later, which validates and sanitizes collation names before use in SQL expressions.
sql-injectionwebdatabaseinput-validation

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated collation values to StringExpression and IdentifierExpression. Attackers controlling a collation name passed to the constructor or setCollation() can append SQL after the unquoted COLLATE clause, affecting every database driver within the connection's privileges.

CVSS vector

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

Weaknesses

CWE-89

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.