CVE-2026-119417
CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
Also known as CVE-2026-77634, GHSA-2qh5-382h-3jpc
Mitigation
- Upgrade cakephp/cakephp to one of 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 (or later in the same release line).
Who should check
- Projects that depend on Packagist package cakephp/cakephp (>= 4.5.0, < 4.5.12)
- Anyone running cakephp >= 4.5.12, <= 4.5.12; >= 4.6.5, < 4.6.6; >= 5.1.8, <= 5.1.10; >= 5.2.14, < 5.2.16; >= 5.3.7, < 5.3.8; >= 5.4.0, < 5.4.4
Vulnerability facts
- Affected
- cakephp/cakephp >= 4.5.0, < 4.5.12
- Fixed in
- 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.47% chance of exploitation in 30 days (percentile 33, 2026-11-26)
- CWE
- CWE-93
- Modified
Description
CakePHP 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 contain an email header injection vulnerability because SmtpTransport and MailTransport strip only CRLF pairs from header values, an incomplete fix for CVE-2026-77634. Attackers controlling custom headers set via Message::setHeaders() or Message::addHeaders() can insert a bare CR or LF to inject headers like Bcc, redirecting or altering outgoing mail.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist cakephp/cakephp | >= 4.5.0, < 4.5.12 | 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 | osv |
| cakephp | >= 4.5.12, <= 4.5.12; >= 4.6.5, < 4.6.6; >= 5.1.8, <= 5.1.10; >= 5.2.14, < 5.2.16; >= 5.3.7, < 5.3.8; >= 5.4.0, < 5.4.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-119417. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-119417.md Affected: cakephp/cakephp >= 4.5.0, < 4.5.12 Fixed in: 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 Steps: 1. Search this machine and project for cakephp/cakephp (Packagist), cakephp: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39
- https://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538
- https://github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33
- https://github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d
- https://github.com/cakephp/cakephp/pull/19695
- https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41
- https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e
- https://github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1
- https://github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3
Articles
FAQ
Is CVE-2026-119417 being exploited?
There is no confirmed exploitation: CVE-2026-119417 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-119417?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-119417?
cakephp/cakephp >= 4.5.0, < 4.5.12.
Is there a fix for CVE-2026-119417?
Yes. Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7. Upgrade cakephp/cakephp to one of 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7 (or later in the same release line).
How do I check if I'm affected by CVE-2026-119417?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.