Skip to content

CVE-2026-77634 CakePHP: SmtpTransport vulnerable to CRLF header injection

HighCVSS 8.2 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPUbuntuDebian

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.

Upgrade path

4 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
debian/cakephp(Debian 11) = 2.10.11-2.1; = 2.10.24-1; = 2.10.24-2; All versions No fix listed No fix yet
ubuntu/cakephp(Ubuntu 22.04) All versions No fix listed No fix yet
cakephp/cakephp(Packagist) >= 4.5.0, < 4.5.12; >= 4.6.0, < 4.6.5; >= 5.0.0, < 5.1.8; >= 5.2.0, < 5.2.14 +1 more 4.5.12, 4.6.5, 5.1.8, 5.2.14, 5.3.7 Fixed
cakephp/cakephp = >= 4.5.0, < 4.5.12; = >= 4.6.0, < 4.6.5; = >= 5.0.0, < 5.1.9; = >= 5.2.0, < 5.2.14 +1 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cakephp/cakephp = >= 4.5.0, < 4.5.12 No fix listed
cakephp/cakephp = >= 4.6.0, < 4.6.5 No fix listed
cakephp/cakephp = >= 5.0.0, < 5.1.9 No fix listed
cakephp/cakephp = >= 5.2.0, < 5.2.14 No fix listed
cakephp/cakephp = >= 5.3.0, < 5.3.7 No fix listed
cakephp/cakephp(Packagist) >= 4.5.0, < 4.5.12 4.5.12
cakephp/cakephp(Packagist) >= 4.6.0, < 4.6.5 4.6.5
cakephp/cakephp(Packagist) >= 5.0.0, < 5.1.8 5.1.8
cakephp/cakephp(Packagist) >= 5.2.0, < 5.2.14 5.2.14
cakephp/cakephp(Packagist) >= 5.3.0, < 5.3.7 5.3.7
debian/cakephp(Debian:11) All versions No fix listed
debian/cakephp(Debian:11) = 2.10.11-2.1 No fix listed
debian/cakephp(Debian:11) = 2.10.24-1 No fix listed
debian/cakephp(Debian:11) = 2.10.24-2 No fix listed
ubuntu/cakephp(Ubuntu:22.04) All versions No fix listed

References