{"vuln_id":"CVE-2026-77634","aliases":[],"description":"CakePHP is a rapid development framework for PHP. Prior to versions 4.5.12, 4.6.5, 5.1.8, 5.2.14, and 5.3.7 on their respective release lines, custom mail headers added with Message::setHeaders() or Message::addHeaders() do not have CRLF bytes removed, allowing header injection when user-controlled data is used in message headers. This issue is fixed in versions 4.5.12, 4.6.5, 5.1.8, 5.2.14, and 5.3.7.","published_at":"2026-08-24T21:17:48.307000Z","modified_at":"2026-10-12T21:10:00.227000Z","first_seen_at":"2026-11-21T19:15:47.352991Z","severity":"high","severity_source":"nvd","cvss_score":8.2,"cvss_vector":"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/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","cwe":["CWE-93"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00313,"epss_percentile":0.24624,"nvd_status":"Deferred","enriched_at":"2026-11-22T12:02:54.622436Z","links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77634"},"matched_alias":null,"items":[{"id":3991,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-119417: 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 Smtp…","summary":"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.\n\nReferences:\nhttps://abraxaslabs.tech/research/cakephp-smtp-crlf\nhttps://github.com/cakephp/cakephp\nhttps://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/MailTransport.php#L57\nhttps://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/SmtpTransport.php#L574\nhttps://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39\nhttps://github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33\nhttps://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538\nhttps://github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d\nhttps://github.com/cakephp/cakephp/pull/19695\nhttps://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119417","published_at":"2026-10-30T12:16:38.213000Z","updated_at":"2026-11-20T15:17:38.760000Z","fetched_at":"2026-11-21T19:15:31.479472Z","severity":"high","cvss_score":8.2,"epss":0.00452,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-119417","vuln_ids":["CVE-2026-119417","CVE-2026-77634","GHSA-2QH5-382H-3JPC"],"tags":["CWE-93"],"cluster_id":4341,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3991","html":"https://vulnwatch.ve1ve2.com/item/3991"}}]}