Packagist
CVE-2026-119417
CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
- Severity
- Medium 6.3
- Published
- 30 Oct 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.6.6, 5.2.16, 5.3.8, 5.4.4
- Exploit chance
- 0.5% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- CRLF injection (CWE-93)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Change some data
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
cakephp/cakephpPackagist · osv:Packagist:cakephp/cakephp |
|
About cakephp/cakephp
- Monthly downloads (Packagist)
- 634,186Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 21,919,114Packagist, 24 Nov 2026
Vulnerabilities in cakephp/cakephp
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 2
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-119419CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression CollationCritical 9.2 30 Oct 2026
- CVE-2026-119418CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame()Critical 9.2 30 Oct 2026
- CVE-2026-119416CakePHP through 5.4.3 Cookie Leakage via HTTP Client CookieCollection Domain MatchingMedium 6.3 30 Oct 2026
- CVE-2026-119415CakePHP through 5.4.3 MIME Header Injection via FormDataPart Content-TypeMedium 6.3 30 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-119417