{"id":"CVE-2026-119419","title":"CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation","summary":"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 th…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-89"],"vendor":"cakephp","product":"cakephp","affected":["cakephp <= 5.4.3"],"published":"2026-10-30","updated":"2026-10-30","sourceUpdated":"2026-10-30T11:30:50.862Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-119419","references":[{"url":"https://github.com/cakephp/cakephp/commit/ae8c354cf825aeb7090ea4b48ce98142446f3ac9"},{"url":"https://github.com/cakephp/cakephp/commit/21951faea40060dcc5cc1da3159056df66816d3c"},{"url":"https://github.com/cakephp/cakephp/commit/d04d342c3d1e0bac7ce7661bc098902cc412e595"},{"url":"https://github.com/cakephp/cakephp/commit/ac07372e6a3045ce2030701a5bc5ed71aa2b4b82"},{"url":"https://github.com/cakephp/cakephp/pull/19726"},{"url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/StringExpression.php#L77"},{"url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/IdentifierExpression.php#L106"},{"url":"https://abraxaslabs.tech/research/cakephp-collate-sqli"},{"url":"https://github.com/cakephp/cakephp"},{"url":"https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-stringexpression-and-identifierexpression-collation","label":"VulnCheck Advisory: CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation"}],"tags":["cve.org"],"epss":0.00394,"epssPercentile":0.33558,"ingestedAt":"2026-11-03T10:42:03.640Z","slug":"CVE-2026-119419","body":"## Overview\n\nCakePHP 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.\n\n## Affected\n\n- `cakephp <= 5.4.3`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}