CVE-2026-119417
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
6.3
(v4.0)
Vulnerability status
Received
Source identifier
Published
2026-10-30 12:16:38.213000
Last modified
2026-10-30 12:16:38.213000
View original CVE JSON
{
"id": "CVE-2026-119417",
"sourceIdentifier": "[email protected]",
"published": "2026-10-30T12:16:38.213",
"lastModified": "2026-10-30T12:16:38.213",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "cakephp",
"product": "cakephp",
"defaultStatus": "unaffected",
"repo": "https://github.com/cakephp/cakephp",
"packageURL": "pkg:composer/cakephp/cakephp",
"versions": [
{
"version": "4.5.12",
"lessThanOrEqual": "4.5.12",
"versionType": "semver",
"status": "affected"
},
{
"version": "4.6.5",
"lessThanOrEqual": "4.6.5",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.1.8",
"lessThanOrEqual": "5.1.10",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.2.14",
"lessThanOrEqual": "5.2.15",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.3.7",
"lessThanOrEqual": "5.3.7",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.4.0",
"lessThanOrEqual": "5.4.3",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV40": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "4.0",
"vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"attackRequirements": "PRESENT",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"vulnAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"exploitMaturity": "NOT_DEFINED",
"confidentialityRequirement": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"availabilityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"valueDensity": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED"
}
}
],
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
"baseScore": 3.7,
"baseSeverity": "LOW",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.2,
"impactScore": 1.4
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-93"
}
]
}
],
"references": [
{
"url": "https://abraxaslabs.tech/research/cakephp-smtp-crlf",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/MailTransport.php#L57",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/SmtpTransport.php#L574",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp/pull/19695",
"source": "[email protected]"
},
{
"url": "https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc",
"source": "[email protected]"
},
{
"url": "https://www.vulncheck.com/advisories/cakephp-through-5.4.3-email-header-injection-via-bare-cr-lf-in-smtptransport-and-mailtransport",
"source": "[email protected]"
}
]
}