CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation
Impact
CakePHP through 5.4.3 has a SQL injection vulnerability via StringExpression and IdentifierExpression collation. Attackers can inject SQL by supplying unvalidated collation values, affecting database drivers within the connection's privileges. This is due to improper neutralization of special elements in SQL commands.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
cakephp · VulnCheck
cakephp
1 range
cakephp · VulnCheck
cakephp
Package identity
pkg:composer/cakephp/cakephpExplore cakephp/cakephp →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → through 5.4.3
semver versions
Other versions: unaffected
Original source description
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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119419View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*Through (inclusive): 5.4.3
Original applicability statements
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"versionEndIncluding": "5.4.3"
}
]
}
]
}
]Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.