{"id":"UBUNTU-CVE-2026-119418","details":"CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated frame offsets and directions to WindowExpression::range() and frame(). Attackers can pass crafted values through applications forwarding user input into the OVER clause to execute SQL with the database connection's privileges.","modified":"2026-11-04T03:30:27.315347766Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-119418"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-119418"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-119418"},{"type":"REPORT","url":"https://abraxaslabs.tech/research/cakephp-window-sqli"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L152"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/pull/19735"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-windowexpression-range-and-frame"}],"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_version":"2.8.0-1ubuntu0.1~esm1","binary_name":"cakephp"},{"binary_name":"cakephp-scripts","binary_version":"2.8.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119418.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_version":"2.10.11-2","binary_name":"cakephp"},{"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-119418.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_name":"cakephp-scripts","binary_version":"2.10.24-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119418.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"}]}