CVE-2026-119417
MEDIUM 6.3CVSS 4.0CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
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.
- Published
- 30 Oct 2026
- Last modified
- 20 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-93
- Also known as
- CVE-2026-77634GHSA-2qh5-382h-3jpc
- Sources
- NVDJSONCVE ListJSONOSV GHSA-2qh5-382h-3jpcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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 |
| CVE List | VulnCheck | CVSS 4.0 | MEDIUM 6.3 | 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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CVE List | VulnCheck | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | 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; >= 5.3.7, < 5.3.8; >= 5.4.0, < 5.4.4 | 4.6.6, 5.2.16, 5.3.8, 5.4.4 |
| OSV | Packagist | cakephp/cakephp | >= 4.5.0, < 4.5.12 | 4.5.12 |
| OSV | Packagist | cakephp/cakephp | >= 4.6.0, < 4.6.5 | 4.6.5 |
| OSV | Packagist | cakephp/cakephp | >= 5.0.0, < 5.1.9 | 5.1.9 |
| OSV | Packagist | cakephp/cakephp | >= 5.2.0, < 5.2.14 | 5.2.14 |
| OSV | Packagist | cakephp/cakephp | >= 5.3.0, < 5.3.7 | 5.3.7 |
References
- https://abraxaslabs.tech/research/cakephp-smtp-crlf · third-party-advisory
- https://github.com/cakephp/cakephp · product, PACKAGE
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/MailTransport.php#L57 · technical-description
- https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/SmtpTransport.php#L574 · technical-description
- https://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39 · patch
- https://github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33 · patch
- https://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538 · patch
- https://github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d · patch
- https://github.com/cakephp/cakephp/pull/19695 · patch, issue-tracking
- https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc · related, vendor-advisory, WEB
- https://www.vulncheck.com/advisories/cakephp-through-5.4.3-email-header-injection-via-bare-cr-lf-in-smtptransport-and-mailtransport · third-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-77634 · ADVISORY
- https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41 · WEB
- https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e · WEB
- https://github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1 · WEB
- https://github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3 · WEB
History
- 25 Nov 2026 20:32 UTC · CVE List: first stored (published 30 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Sep 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 30 Oct 2026)