Skip to content
OpenAdvisories
High · 8.2 CVE-2026-77634 EUVD-2026-65123GHSA-2qh5-382h-3jpc

CakePHP: SmtpTransport vulnerable to CRLF header injection

Published Aug 24, 2026 · Updated Aug 25, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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, >= 5.3.0, < 5.3.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 cakephp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS cakephp No fix yet —
Ubuntu 20.04 LTS cakephp No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS cakephp No fix yet —

References