CakePHP: SmtpTransport vulnerable to CRLF header injection
Summary
| CVE | CVE-2026-77634 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-24 21:17:48 UTC |
| Updated | 2026-08-24 21:17:48 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 8.2 HIGH from [email protected]
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
Problem Types: CWE-93 | CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.2 | HIGH | 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/C... |
| 4.0 | CNA | DECLARED | 8.2 | HIGH | 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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
NoneUser Interaction
NoneConfidentiality
NoneIntegrity
HighAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Cakephp | Cakephp | affected >= 4.5.0, < 4.5.12 | Not specified |
| CNA | Cakephp | Cakephp | affected >= 4.6.0, < 4.6.5 | Not specified |
| CNA | Cakephp | Cakephp | affected >= 5.0.0, < 5.1.9 | Not specified |
| CNA | Cakephp | Cakephp | affected >= 5.2.0, < 5.2.14 | Not specified |
| CNA | Cakephp | Cakephp | affected >= 5.3.0, < 5.3.7 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc | [email protected] | github.com | |
| github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1 | [email protected] | github.com | |
| github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41 | [email protected] | github.com | |
| github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e | [email protected] | github.com | |
| github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.