Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
CVE-2026-119419: CakePHP 5.4.3 Allows SQL Code Injection via Collation Input
CVE-2026-119419 · published 1 month ago
Summary
The CakePHP framework up to version 5.4.3 does not properly check the collation name that developers can pass to certain functions. An attacker who can supply a malicious collation value could add extra SQL commands that run with the same database rights as the application, potentially exposing or altering data. Update CakePHP to a newer version that fixes the validation, or apply the provided patches and ensure only trusted input is used for collation settings.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | cakephp | cakephp | <= 5.4.3 |
| Ubuntu:Pro:16.04:LTS | canonical | cakephp | All versions |
Original advisory text
CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation
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.
References
- https://abraxaslabs.tech/research/cakephp-collate-sqli Third Party Advisory
- https://github.com/cakephp/cakephp Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-1194... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-119419 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-119419 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-119419 Third Party Advisory
- https://github.com/cakephp/cakephp/commit/21951faea40060dcc5cc1da3159056df66816d... Third Party Advisory
- https://github.com/cakephp/cakephp/commit/ac07372e6a3045ce2030701a5bc5ed71aa2b4b... Third Party Advisory
- https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-str... Third Party Advisory
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91... Third Party Advisory
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91... Third Party Advisory
- https://github.com/cakephp/cakephp/commit/ae8c354cf825aeb7090ea4b48ce98142446f3a... Third Party Advisory
- https://github.com/cakephp/cakephp/commit/d04d342c3d1e0bac7ce7661bc098902cc412e5... Third Party Advisory
- https://github.com/cakephp/cakephp/pull/19726 Third Party Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.4
Critical
Type
CWE-89SQL Injection
Timeline
Published30 Oct 2026
Updated2 Dec 2026
First seen30 Oct 2026
Sources
CVE-2026-119419 · NVD
CVE-2026-119419 · MITRE
CVE-2026-119419 · OSV
UBUNTU-CVE-2026-119419 · OSV
Track software like this
Free during beta