{"id":"CVE-2026-77634","summary":"CakePHP: SmtpTransport vulnerable to CRLF header injection","details":"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.","aliases":["GHSA-2qh5-382h-3jpc"],"modified":"2026-08-27T11:47:35.636548330Z","published":"2026-08-24T20:33:46.836Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-93"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77634.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77634.json"},{"type":"ADVISORY","url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77634"},{"type":"FIX","url":"https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41"},{"type":"FIX","url":"https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e"},{"type":"FIX","url":"https://github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1"},{"type":"FIX","url":"https://github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cakephp/cakephp","events":[{"introduced":"95e39ec60f78895d217c35c6f840f24f1f9ca3b5"},{"introduced":"b8585672346c0654311c77500ce613cdf37687cc"},{"introduced":"2da6ed819f520e472ea12b011a9c7a7f39310a4a"},{"introduced":"8eb600bb67a545e2d108f9ae64146f094a39bb55"},{"introduced":"c0175d821a5e42b934ad2a11927c5c5d0e659a0d"},{"fixed":"cc9dbe1fbcb1cb6fd20eb2ebf457c9774dfa5f49"},{"fixed":"2818927cc949af84fd847d72d65edeaac581cb8b"},{"fixed":"a029afaa6879d6c9dc41c20e09f727fd767b9893"},{"fixed":"111336d93f8fb044b2b68d4526cf10876432fd2d"},{"fixed":"c0d21e0da4216d51268691af3ad803f0eecb3a11"},{"fixed":"08188962bcd99a95da1e49f62e786f2d688f1e41"},{"fixed":"2afe42b02d8ddc5d442bca5e8bb61910a727646e"},{"fixed":"3e09dae6cbdc983754fa3a8e6aae74da102a3ea1"},{"fixed":"b67b622457362b075bb37e625a82af73a0b3c9c3"}],"database_specific":{"extracted_events":[{"introduced":"4.5.0"},{"fixed":"4.5.12"},{"introduced":"4.6.0"},{"fixed":"4.6.5"},{"introduced":"5.0.0"},{"fixed":"5.1.9"},{"introduced":"5.2.0"},{"fixed":"5.2.14"},{"introduced":"5.3.0"},{"fixed":"5.3.7"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["5.1.8","5.2.13","5.1.7","4.6.4","4.5.11","5.3.6","4.5.10","5.1.6","5.2.12","5.3.5","5.3.4","5.3.3","5.3.2","5.2.11","5.3.1","5.3.0","4.6.3","5.2.10","5.2.9","5.2.8","4.6.2","5.2.7","5.2.6","5.2.5","4.6.1","5.2.4","5.2.3","5.2.2","5.2.1","5.2.0","4.6.0","4.5.9","5.1.5","5.1.4","4.5.8","5.1.2","4.5.7","5.1.1","5.1.0","5.0.11","4.5.6","5.0.10","5.0.9","4.5.5","5.0.8","5.0.7","5.0.6","4.5.4","5.0.5","4.5.3","5.0.4","4.5.2","5.0.3","4.5.1","5.0.2","4.5.0","5.0.1","5.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77634.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}