CVE-2026-119417
published medium CVSS 4.0 · 6.3CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cakephp | — | cakephp4.5.12 through 4.5.12 · 4.6.5 to < 4.6.6 · 5.1.8 through 5.1.10 · 5.2.14 to < 5.2.16 · 5.3.7 to < 5.3.8 · 5.4.0 to < 5.4.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cakephp | cakephp | 4.5.12 through 4.5.12 (affected · semver)4.6.5 to < 4.6.6 (affected · semver)5.1.8 through 5.1.10 (affected · semver)5.2.14 to < 5.2.16 (affected · semver)5.3.7 to < 5.3.8 (affected · semver)5.4.0 to < 5.4.4 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
11- https://abraxaslabs.tech/research/cakephp-smtp-crlf
- https://github.com/cakephp/cakephp
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/MailTransport.php#L57
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/SmtpTransport.php#L574
- https://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39
- https://github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33
- https://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538
- https://github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d
- https://github.com/cakephp/cakephp/pull/19695
- GitHub Security Advisory (GHSA-2qh5-382h-3jpc) https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc
- VulnCheck Advisory: CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport https://www.vulncheck.com/advisories/cakephp-through-5.4.3-email-header-injection-via-bare-cr-lf-in-smtptransport-and-mailtransport
Provider assertions
2VulnCheck · cna
CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e52f06a09240f533a151a66d3c65093abe5182a470e87a21b6987a6cd3818052
- Ingested
- 20 Nov 2026, 14:32:31 UTC
- Source record
- Official CVE record