CVE-2026-119417
Description
CakePHP 4.5.12, 4.6.5, 5.1.8 through 5.1.10, 5.2.14 through 5.2.15, 5.3.7, and 5.4.0 through 5.4.3 contain an email header injection vulnerability because SmtpTransport and MailTransport strip only CRLF pairs from header values, an incomplete fix for CVE-2026-77634. Attackers controlling custom headers set via Message::setHeaders() or Message::addHeaders() can insert a bare CR or LF to inject headers like Bcc, redirecting or altering outgoing mail.
How to fix
- github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39
- github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538
- github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33
- github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d
- github.com/cakephp/cakephp/pull/19695
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cakephp cakephp | 4.5.12, 4.6.5, 5.1.8 ≤ v ≤ 5.1.10, 5.2.14 ≤ v ≤ 5.2.15, 5.3.7, 5.4.0 ≤ v ≤ 5.4.3 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.