CVE-2026-119417: cakephp · CRLF Injection
Affects cakephpSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.3 Medium.
Data as of 30 Oct 2026, 12:04 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.7 |
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cakephpcakephp | Affected
| Fixed in– |
Packagistcakephppkg:composer/cakephpOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid allowing untrusted input in custom email headers set via Message::setHeaders() or Message::addHeaders to prevent injection of CR or LF characters.
Description
CVE-2026-119417 is an email header injection vulnerability in CakePHP versions 4.5.12, 4.6.5, 5.1.8 through 5.1.10, 5.2.14 through 5.2.15, 5.3.7, and 5.4.0 through 5.4.3. The issue arises because SmtpTransport and MailTransport components only strip CRLF pairs from header values, allowing attackers to insert bare CR or LF characters via custom headers set through Message::setHeaders() or Message::addHeaders(). This can enable injection of additional headers such as Bcc, potentially redirecting or altering outgoing emails.
References
- github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39 (opens in a new tab)
- github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538 (opens in a new tab)
- github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33 (opens in a new tab)
- github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d (opens in a new tab)
- github.com/cakephp/cakephp/pull/19695 (opens in a new tab)
- github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/SmtpTransport.php (opens in a new tab)
- github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/MailTransport.php (opens in a new tab)
- github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc (opens in a new tab)
- abraxaslabs.tech/research/cakephp-smtp-crlf (opens in a new tab)
- github.com/cakephp/cakephp (opens in a new tab)
- vulncheck.com/advisories/cakephp-through-5.4.3-email-header-injection-via-bare-cr-lf-in-smtptransport-and-mailtransport (opens in a new tab)