{"id":"UBUNTU-CVE-2026-119417","details":"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.","modified":"2026-11-04T03:30:30.768522160Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-119417"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-119417"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-119417"},{"type":"REPORT","url":"https://abraxaslabs.tech/research/cakephp-smtp-crlf"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/MailTransport.php#L57"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/SmtpTransport.php#L574"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/pull/19695"},{"type":"REPORT","url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/cakephp-through-5.4.3-email-header-injection-via-bare-cr-lf-in-smtptransport-and-mailtransport"}],"affected":[{"package":{"name":"cakephp","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.2-1","2.8.0-1","2.8.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"cakephp","binary_version":"2.8.0-1ubuntu0.1~esm1"},{"binary_version":"2.8.0-1ubuntu0.1~esm1","binary_name":"cakephp-scripts"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119417.json"}},{"package":{"name":"cakephp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2"],"ecosystem_specific":{"binaries":[{"binary_name":"cakephp","binary_version":"2.10.11-2"},{"binary_version":"2.10.11-2","binary_name":"cakephp-scripts"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119417.json"}},{"package":{"name":"cakephp","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2.1","2.10.24-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cakephp","binary_version":"2.10.24-1"},{"binary_name":"cakephp-scripts","binary_version":"2.10.24-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119417.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}