Loading advisory.
Loading advisory.
CakePHP: SmtpTransport vulnerable to CRLF header injection
Custom mail headers added with Message::setHeaders() or addHeaders() do not have CRLF replaced allowing header injection if user controlled data is added to message headers without stripping CRLF bytes.
Published 2026-09-08 20:56 UTC · Modified 2026-10-31 02:55 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| cakephp/cakephp | Packagist | >= 4.5.0, < 4.5.12 >= 4.6.0, < 4.6.5 >= 5.0.0, < 5.1.9 >= 5.2.0, < 5.2.14 >= 5.3.0, < 5.3.7 versions 4.5.0, 4.5.1, 4.5.10, 4.5.11, 4.5.2, 4.5.3, 4.5.4, 4.5.5, 4.5.6, 4.5.7, 4.5.8, 4.5.9, 4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.6.4, 5.0.0, 5.0.1, 5.0.10 and 40 more | 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 | composer require 'cakephp/cakephp:>=4.5.12'composer require 'cakephp/cakephp:>=4.6.5'composer require 'cakephp/cakephp:>=5.1.9'composer require 'cakephp/cakephp:>=5.2.14'composer require 'cakephp/cakephp:>=5.3.7' |
Custom mail headers added with Message::setHeaders() or addHeaders() do not have CRLF replaced allowing header injection if user controlled data is added to message headers without stripping CRLF bytes.
5.3.7, 5.2.14, 5.1.9, 4.6.5, 4.5.12 contain fixes for this issue.
You can strip CRLF bytes from email header values before setting header values.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.