CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
Impact
CakePHP versions through 5.4.3 are vulnerable to email header injection via bare CR/LF in SmtpTransport and MailTransport. User-controlled data in message headers without stripped CRLF bytes can lead to header injection. Affected versions include 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7, and 5.4.3.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.5.0 before 4.5.12Ecosystem versions | 4.5.12 |
| From 4.6.0 before 4.6.5Ecosystem versions | 4.6.5 |
| From 5.0.0 before 5.1.9Ecosystem versions | 5.1.9 |
| From 5.2.0 before 5.2.14Ecosystem versions | 5.2.14 |
| From 5.3.0 before 5.3.7Ecosystem versions | 5.3.7 |
Version evidence: OSV · GHSA-2qh5-382h-3jpc
View original version evidence (60 explicit versions)
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
cakephp · VulnCheck
cakephp
6 ranges
cakephp · VulnCheck
cakephp
Package identity
pkg:composer/cakephp/cakephpExplore cakephp/cakephp →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
4.5.12 → through 4.5.12
semver versions
4.6.5 → through 4.6.5
semver versions
5.1.8 → through 5.1.10
semver versions
5.2.14 → through 5.2.15
semver versions
5.3.7 → through 5.3.7
semver versions
5.4.0 → through 5.4.3
semver versions
Other versions: unaffected
Original source description
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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119417CVE-2026-77634View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*From (inclusive): 4.5.12
Through (inclusive): 4.5.12
Vulnerable product
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*From (inclusive): 4.6.5
Through (inclusive): 4.6.5
Vulnerable product
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*From (inclusive): 5.1.8
Through (inclusive): 5.1.10
Vulnerable product
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*From (inclusive): 5.2.14
Through (inclusive): 5.2.15
Vulnerable product
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*From (inclusive): 5.3.7
Through (inclusive): 5.3.7
Vulnerable product
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*From (inclusive): 5.4.0
Through (inclusive): 5.4.3
Original applicability statements
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.5.12",
"versionEndIncluding": "4.5.12"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.6.5",
"versionEndIncluding": "4.6.5"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1.8",
"versionEndIncluding": "5.1.10"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.2.14",
"versionEndIncluding": "5.2.15"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.3.7",
"versionEndIncluding": "5.3.7"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4.0",
"versionEndIncluding": "5.4.3"
}
]
}
]
}
]Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changes- CVE · CVE-2026-119417
Observed 2026-10-30T17:19:43.989Z · upstream updated 2026-10-30T15:55:41.693Z
Prioritization updated
before
[]
after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-10-30T15:20:55.429443Z", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "no" }, { "name": "Technical Impact", "value": "partial" } ] } ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.