CVE-2026-119419cakephp
SQL Injection in CakePHP via Unvalidated Collation Values
Critical 9.2 No auth needed
Follow: this CVE · cakephp · cakephp We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 4.0
- 9.2
- EPSS
- —
- Auth required
- No
- Published
- Oct 30, 2026
- Updated
- Nov 4, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
CakePHP version 5.4.3 and earlier contains an SQL injection vulnerability in StringExpression and IdentifierExpression classes. An unauthenticated attacker can inject SQL code by supplying unvalidated collation values to the constructor or setCollation() method, allowing arbitrary SQL command execution with the database connection's privileges.
Show the original NVD text
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.
What to do
Patch available
Update CakePHP to a version after 5.4.3 that includes collation value validation. Review the fix commits in the official repository.
- Apply the vendor's security update for cakephp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- cakephp · cakephp
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.