high

CVE-2026-77634

Packagist · cakephp/cakephp

Summary

CakePHP: SmtpTransport vulnerable to CRLF header injection

Severity
high
EPSS
0.3% (p24)
CWE
CWE-93
Also known as
GHSA-2qh5-382h-3jpc
Published
2026-09-08
Updated
2026-09-08

Advisory details

Impact

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.

Patches

5.3.7, 5.2.14, 5.1.9, 4.6.5, 4.5.12 contain fixes for this issue.

Workarounds

You can strip CRLF bytes from email header values before setting header values.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.