Skip to main content
← All vulnerabilities
CVE-2026-77634GHSA-2QH5-382H-3JPC

CakePHP: SmtpTransport vulnerable to CRLF header injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • cakephp cakephp

    From 4.5.0 · fixed in 4.5.12; From 4.6.0 · fixed in 4.6.5; From 5.0.0 · fixed in 5.1.9; From 5.2.0 · fixed in 5.2.14; From 5.3.0 · fixed in 5.3.7

  • cakephp/cakephpPackagist

    From 4.5.0 · fixed in 4.5.12

  • cakephp/cakephpPackagist

    From 4.6.0 · fixed in 4.6.5

  • cakephp/cakephpPackagist

    From 5.0.0 · fixed in 5.1.9

  • cakephp/cakephpPackagist

    From 5.2.0 · fixed in 5.2.14

  • cakephp/cakephpPackagist

    From 5.3.0 · fixed in 5.3.7

References 5

GitHub · cakephp/cakephp