{"id":"UBUNTU-CVE-2026-119419","details":"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.","modified":"2026-11-04T03:30:30.957159524Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-119419"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-119419"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-119419"},{"type":"REPORT","url":"https://abraxaslabs.tech/research/cakephp-collate-sqli"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/IdentifierExpression.php#L106"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/StringExpression.php#L77"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/21951faea40060dcc5cc1da3159056df66816d3c"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/ac07372e6a3045ce2030701a5bc5ed71aa2b4b82"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/ae8c354cf825aeb7090ea4b48ce98142446f3ac9"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/d04d342c3d1e0bac7ce7661bc098902cc412e595"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/pull/19726"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-stringexpression-and-identifierexpression-collation"}],"affected":[{"package":{"name":"cakephp","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.2-1","2.8.0-1","2.8.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"cakephp","binary_version":"2.8.0-1ubuntu0.1~esm1"},{"binary_version":"2.8.0-1ubuntu0.1~esm1","binary_name":"cakephp-scripts"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119419.json"}},{"package":{"name":"cakephp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2"],"ecosystem_specific":{"binaries":[{"binary_name":"cakephp","binary_version":"2.10.11-2"},{"binary_name":"cakephp-scripts","binary_version":"2.10.11-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119419.json"}},{"package":{"name":"cakephp","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2.1","2.10.24-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.10.24-1","binary_name":"cakephp"},{"binary_version":"2.10.24-1","binary_name":"cakephp-scripts"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119419.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}