{"id":"CVE-2026-119418","state":"PUBLISHED","title":"CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame()","description":"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.","publishedAt":"2026-10-30T11:30:50.158Z","updatedAt":"2026-10-30T16:04:14.569Z","severity":{"score":9.2,"label":"Critical","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["cakephp cakephp"],"affected":[{"vendor":"cakephp","product":"cakephp","packageURL":"pkg:composer/cakephp/cakephp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.4.3","versionType":"semver"}],"repo":"https://github.com/cakephp/cakephp"}],"references":["https://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565","https://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9","https://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f","https://github.com/cakephp/cakephp/pull/19735","https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L152","https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330","https://abraxaslabs.tech/research/cakephp-window-sqli","https://github.com/cakephp/cakephp","https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-windowexpression-range-and-frame"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-30T16:24:06.740Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119418.json","commit":"52408409ce2a766d916f7a10c578d10655ec3113","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119418","state":"PUBLISHED","datePublished":"2026-10-30T11:30:50.158Z","dateUpdated":"2026-10-30T16:04:14.569Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-30T02:41:11.515Z"},"containers":{"cna":{"title":"CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"cakephp","product":"cakephp","packageURL":"pkg:composer/cakephp/cakephp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.4.3","versionType":"semver"}],"repo":"https://github.com/cakephp/cakephp"}],"references":[{"url":"https://github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/pull/19735","tags":["patch","issue-tracking"]},{"url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L152","tags":["technical-description"]},{"url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330","tags":["technical-description"]},{"url":"https://abraxaslabs.tech/research/cakephp-window-sqli","tags":["third-party-advisory"]},{"url":"https://github.com/cakephp/cakephp","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-windowexpression-range-and-frame","name":"VulnCheck Advisory: CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame()","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.2,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-30T11:30:50.158Z"},"datePublic":"2026-10-12T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*","versionEndIncluding":"5.4.3"}]}]}],"credits":[{"lang":"en","value":"Abraxas Labs","type":"finder"},{"lang":"en","value":"Mark Story","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-30T16:03:58.022834Z","id":"CVE-2026-119418","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-30T16:04:14.569Z"}}]}}}