CVE-2026-77634
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.
How to fix
- cakephp/cakephp4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cakephp/cakephpPackagist | 4.5.0 ≤ v < 4.5.12, 4.6.0 ≤ v < 4.6.5, 5.0.0 ≤ v < 5.1.9, 5.2.0 ≤ v < 5.2.14, 5.3.0 ≤ v < 5.3.7 | 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.