cve.bz

CVE-2026-119417 CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport

6.3 mediumEPSS 0.5%Fix available

Medium (6.3) in cakephp cakephp. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in cakephp/cakephp 4.5.12, 4.6.5, 5.1.9.

On this page
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.

Severity

CVSS 4.0

6.3 medium
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-93 Improper Neutralization of CRLF Sequences (CRLF Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
VulnCheck (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • cakephp/cakephp (Packagist): fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7

Ask an AI about this CVE

Show the promptExplain CVE-2026-119417 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-119417?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-119417?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-119417 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cakephpfrom 4.5.12 through 4.5.12
cakephpfrom 4.6.5 before 4.6.6
cakephpfrom 5.1.8 through 5.1.10
cakephpfrom 5.2.14 before 5.2.16
cakephpfrom 5.3.7 before 5.3.8
cakephpfrom 5.4.0 before 5.4.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2qh5-382h-3jpcPackagistcakephp/cakephp>=4.5.0 <4.5.124.5.12
GHSA-2qh5-382h-3jpcPackagistcakephp/cakephp>=4.6.0 <4.6.54.6.5
GHSA-2qh5-382h-3jpcPackagistcakephp/cakephp>=5.0.0 <5.1.95.1.9
GHSA-2qh5-382h-3jpcPackagistcakephp/cakephp>=5.2.0 <5.2.145.2.14
GHSA-2qh5-382h-3jpcPackagistcakephp/cakephp>=5.3.0 <5.3.75.3.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTS, Pro:16.04:LTScakephpno fix listedUBUNTU-CVE-2026-119417

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON