Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-77634

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

cakephp cakephp

  • >= 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