Read the docs
TI-2026-54105 Aliases CVE-2026-77634GHSA-2qh5-382h-3jpc

CakePHP: SmtpTransport vulnerable to CRLF header injection

Priority LOW 35CWE-93Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00313 24th percentileScored 2026-11-07
Fix Fixed cakephp (cakephp): 4.5.12, 4.6.5, 5.1.9 +2cakephp/cakephp (Packagist): 4.5.12, 4.6.5, 5.1.9 +2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cakephpcakephp4.5.0 to before 4.5.12; 4.6.0 to before 4.6.5; 5.0.0 to before 5.1.9; 5.2.0 to before 5.2.14; 5.3.0 to before 5.3.74.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7Patch availableCNA
—cakephp/cakephp (Packagist)4.5.0 to before 4.5.124.5.12Patch availableGHSA-2qh5-382h-3jpc
—cakephp/cakephp (Packagist)4.6.0 to before 4.6.54.6.5Patch availableGHSA-2qh5-382h-3jpc
—cakephp/cakephp (Packagist)5.0.0 to before 5.1.95.1.9Patch availableGHSA-2qh5-382h-3jpc
—cakephp/cakephp (Packagist)5.2.0 to before 5.2.145.2.14Patch availableGHSA-2qh5-382h-3jpc
—cakephp/cakephp (Packagist)5.3.0 to before 5.3.75.3.7Patch availableGHSA-2qh5-382h-3jpc
  • cakephp Vendorcakephp Affected 4.5.0 to before 4.5.12; 4.6.0 to before 4.6.5; 5.0.0 to before 5.1.9; 5.2.0 to before 5.2.14; 5.3.0 to before 5.3.7 Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 Patch available CNA
  • cakephp/cakephp (Packagist) Vendor— Affected 4.5.0 to before 4.5.12 Fixed in 4.5.12 Patch available GHSA-2qh5-382h-3jpc
  • cakephp/cakephp (Packagist) Vendor— Affected 4.6.0 to before 4.6.5 Fixed in 4.6.5 Patch available GHSA-2qh5-382h-3jpc
  • cakephp/cakephp (Packagist) Vendor— Affected 5.0.0 to before 5.1.9 Fixed in 5.1.9 Patch available GHSA-2qh5-382h-3jpc
  • cakephp/cakephp (Packagist) Vendor— Affected 5.2.0 to before 5.2.14 Fixed in 5.2.14 Patch available GHSA-2qh5-382h-3jpc
  • cakephp/cakephp (Packagist) Vendor— Affected 5.3.0 to before 5.3.7 Fixed in 5.3.7 Patch available GHSA-2qh5-382h-3jpc

Remediation

  • Fix · CNA cakephp (cakephp) Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
  • Fix · GHSA-2qh5-382h-3jpc cakephp/cakephp (Packagist) Fixed in 4.5.12 Advisory →
  • Fix · GHSA-2qh5-382h-3jpc cakephp/cakephp (Packagist) Fixed in 4.6.5 Advisory →
  • Fix · GHSA-2qh5-382h-3jpc cakephp/cakephp (Packagist) Fixed in 5.1.9 Advisory →
  • Fix · GHSA-2qh5-382h-3jpc cakephp/cakephp (Packagist) Fixed in 5.2.14 Advisory →
  • Fix · GHSA-2qh5-382h-3jpc cakephp/cakephp (Packagist) Fixed in 5.3.7 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-77634
  2. 2026-10-03 Alias added: GHSA-2qh5-382h-3jpc

References

  • TI-2010-04068 The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x… CVSS 2.0HIGH 7.5
  • TI-2026-82995 Cookie leakage in CakePHP HTTP client cookie domain matching CVSS 4.0MEDIUM 6.3
  • TI-2026-19037 CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting CVSS 3.1MEDIUM 5.4
  • TI-2023-08901 Database Query::offset() and limit() vulnerable to SQL injection in cakephp CVSS 3.1CRITICAL 9.8
  • TI-2026-54106 CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver CVSS 4.0CRITICAL 9.2
  • TI-2026-55232 CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection CVSS 4.0CRITICAL 9.2
See all 22 →

Sources