CVE-2026-119417 CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
MediumCVSS 6.3
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPUbuntu
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.
Upgrade path
2 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/cakephp(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| cakephp/cakephp | >= 4.5.12, <= 4.5.12; >= 4.6.5, < 4.6.6; >= 5.1.8, <= 5.1.10; >= 5.2.14, < 5.2.16 +2 more | 4.6.6, 5.2.16, 5.3.8, 5.4.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/cakephp(Ubuntu:22.04) | All versions | No fix listed |
| cakephp/cakephp | >= 4.5.12, <= 4.5.12 | No fix listed |
| cakephp/cakephp | >= 4.6.5, < 4.6.6 | 4.6.6 |
| cakephp/cakephp | >= 5.1.8, <= 5.1.10 | No fix listed |
| cakephp/cakephp | >= 5.2.14, < 5.2.16 | 5.2.16 |
| cakephp/cakephp | >= 5.3.7, < 5.3.8 | 5.3.8 |
| cakephp/cakephp | >= 5.4.0, < 5.4.4 | 5.4.4 |
References
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com issue-tracking patch
- github.com technical-description
- github.com technical-description
- GitHub Security Advisory (GHSA-2qh5-382h-3jpc) related vendor-advisory
- abraxaslabs.tech third-party-advisory
- github.com product
- VulnCheck Advisory: CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-113797 third-party-advisory