{"id":"CVE-2026-77634","state":"PUBLISHED","title":"CakePHP: SmtpTransport vulnerable to CRLF header injection","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.","publishedAt":"2026-08-24T20:33:46.836Z","updatedAt":"2026-08-25T19:23:40.053Z","severity":{"score":8.2,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["cakephp cakephp"],"affected":[{"vendor":"cakephp","product":"cakephp","versions":[{"version":">= 4.5.0, < 4.5.12","status":"affected"},{"version":">= 4.6.0, < 4.6.5","status":"affected"},{"version":">= 5.0.0, < 5.1.9","status":"affected"},{"version":">= 5.2.0, < 5.2.14","status":"affected"},{"version":">= 5.3.0, < 5.3.7","status":"affected"}]}],"references":["https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc","https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41","https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e","https://github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1","https://github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3"],"weaknesses":["CWE-93"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/77xxx/CVE-2026-77634.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-77634","state":"PUBLISHED","datePublished":"2026-08-24T20:33:46.836Z","dateUpdated":"2026-08-25T19:23:40.053Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-20T20:52:01.927Z"},"containers":{"cna":{"title":"CakePHP: SmtpTransport vulnerable to CRLF header injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"cakephp","product":"cakephp","versions":[{"version":">= 4.5.0, < 4.5.12","status":"affected"},{"version":">= 4.6.0, < 4.6.5","status":"affected"},{"version":">= 5.0.0, < 5.1.9","status":"affected"},{"version":">= 5.2.0, < 5.2.14","status":"affected"},{"version":">= 5.3.0, < 5.3.7","status":"affected"}]}],"references":[{"url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc","name":"https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41","name":"https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41","tags":["x_refsource_MISC"]},{"url":"https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e","name":"https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e","tags":["x_refsource_MISC"]},{"url":"https://github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1","name":"https://github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1","tags":["x_refsource_MISC"]},{"url":"https://github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3","name":"https://github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-93","lang":"en","description":"CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-24T20:33:46.836Z"},"source":{"advisory":"GHSA-2qh5-382h-3jpc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-25T18:32:29.994179Z","id":"CVE-2026-77634","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-25T19:23:40.053Z"}}]}}}