CVE-2026-77634

CakePHP: SmtpTransport vulnerable to CRLF header injection

State
Published
Severity
8.2 High
Published
Aug 24, 2026
Updated
Aug 25, 2026
Reserved
Aug 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')

Affected Products

ProductVersions
cakephpcakephp
  • >= 4.5.0, < 4.5.12Affected
  • >= 4.6.0, < 4.6.5Affected
  • >= 5.0.0, < 5.1.9Affected
  • >= 5.2.0, < 5.2.14Affected
  • >= 5.3.0, < 5.3.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.