{"id":"CVE-2026-119417","published":"2026-10-30T11:30:49Z","modified":"2026-11-20T14:31:15Z","title":"CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport","vendor":"cakephp","product":"cakephp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00452,"percentile":0.40133,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d","tags":["patch"]},{"url":"https://github.com/cakephp/cakephp/pull/19695","tags":["patch","issue-tracking"]},{"url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/SmtpTransport.php#L574","tags":["technical-description"]},{"url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/MailTransport.php#L57","tags":["technical-description"]},{"url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc","tags":["related","vendor-advisory"]},{"url":"https://abraxaslabs.tech/research/cakephp-smtp-crlf","tags":["third-party-advisory"]},{"url":"https://github.com/cakephp/cakephp","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/cakephp-through-5.4.3-email-header-injection-via-bare-cr-lf-in-smtptransport-and-mailtransport","tags":["third-party-advisory"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":8.03},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"cakephp","affectedVersions":[{"vendor":"cakephp","product":"cakephp","versions":[">= 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-30T15:20:55.429443Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-113797","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cakephp-cve-2026-77634","parents":[{"from":"CVE-2026-77634","to":"CVE-2026-119417","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"…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.","from":"CVE.org","in":"CVE-2026-119417"},{"kind":"osv-related","provenance":"source","id":"GHSA-2qh5-382h-3jpc","via":"reference","url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc"},{"kind":"same-code","provenance":"machine","files":["src/Mailer/Transport/SmtpTransport.php"],"commits":["https://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39","https://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538","https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41","https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e"],"basis":"shared function","functions":["_sendData"]},{"kind":"similar","provenance":"machine","score":0.5,"basis":"same product + CWE + description similarity"}]}]}}