CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
Summary
| CVE | CVE-2026-119417 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-30 12:16:38 UTC |
| Updated | 2026-10-30 19:07:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 6.3 MEDIUM from [email protected]
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/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
Problem Types: CWE-93 | CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 6.3 | MEDIUM | 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/E:X/C... |
| 4.0 | CNA | CVSS | 6.3 | MEDIUM | 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 |
| 3.1 | [email protected] | Secondary | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | CNA | CVSS | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
HighAttack Requirements
PresentPrivileges Required
NoneUser Interaction
NoneConfidentiality
NoneIntegrity
LowAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Cakephp | Cakephp | affected 4.5.12 4.5.12 semver | Not specified |
| CNA | Cakephp | Cakephp | affected 4.6.5 4.6.5 semver | Not specified |
| CNA | Cakephp | Cakephp | affected 5.1.8 5.1.10 semver | Not specified |
| CNA | Cakephp | Cakephp | affected 5.2.14 5.2.15 semver | Not specified |
| CNA | Cakephp | Cakephp | affected 5.3.7 5.3.7 semver | Not specified |
| CNA | Cakephp | Cakephp | affected 5.4.0 5.4.3 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91... | [email protected] | github.com | |
| github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538 | [email protected] | github.com | |
| github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d | [email protected] | github.com | |
| abraxaslabs.tech/research/cakephp-smtp-crlf | [email protected] | abraxaslabs.tech | |
| github.com/cakephp/cakephp/pull/19695 | [email protected] | github.com | |
| github.com/cakephp/cakephp | [email protected] | github.com | |
| github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91... | [email protected] | github.com | |
| github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33 | [email protected] | github.com | |
| www.vulncheck.com/advisories/cakephp-through-5.4.3-email-header-injection-via-b... | [email protected] | www.vulncheck.com | |
| github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39 | [email protected] | github.com | |
| github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Abraxas Labs (en)
CNA: Mark Story (en)
There are currently no legacy QID mappings associated with this CVE.