{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119419","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-10-30T02:41:11.857Z","datePublished":"2026-10-30T11:30:50.862Z","dateUpdated":"2026-10-30T11:30:50.862Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-10-30T11:30:50.862Z"},"datePublic":"2026-10-12T00:00:00.000Z","title":"CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","cweId":"CWE-89","type":"CWE"}]}],"affected":[{"vendor":"cakephp","product":"cakephp","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"5.4.3","status":"affected","versionType":"semver"}],"packageURL":"pkg:composer/cakephp/cakephp","repo":"https://github.com/cakephp/cakephp"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*","versionEndIncluding":"5.4.3"}]}]}],"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"}}],"references":[{"url":"https://github.com/cakephp/cakephp/commit/ae8c354cf825aeb7090ea4b48ce98142446f3ac9","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/commit/21951faea40060dcc5cc1da3159056df66816d3c","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/commit/d04d342c3d1e0bac7ce7661bc098902cc412e595","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/commit/ac07372e6a3045ce2030701a5bc5ed71aa2b4b82","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/pull/19726","tags":["patch","issue-tracking"]},{"url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/StringExpression.php#L77","tags":["technical-description"]},{"url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/IdentifierExpression.php#L106","tags":["technical-description"]},{"url":"https://abraxaslabs.tech/research/cakephp-collate-sqli","tags":["third-party-advisory"]},{"url":"https://github.com/cakephp/cakephp","tags":["product"]},{"name":"VulnCheck Advisory: CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-stringexpression-and-identifierexpression-collation"}],"credits":[{"lang":"en","value":"Abraxas Labs","type":"finder"},{"lang":"en","value":"Mark Story","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}