Header injection in CakePHP FormDataPart MIME parts
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
CakePHP through 5.4.3 contains a header injection flaw in FormDataPart because Content-Type and Content-ID values are not sanitized (CWE-93). A remote attacker who can supply attachment MIME types or Content-IDs to Message::setAttachments() or HTTP client multipart data can insert CR/LF sequences that add arbitrary MIME part headers or content, with high attack complexity.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Description from the CNA
CakePHP through 5.4.3 contains a header injection vulnerability in FormDataPart that allows attackers to inject MIME part headers via unsanitized Content-Type and Content-ID values. Attackers can supply CR/LF sequences in attachment MIME types or Content-IDs passed to Message::setAttachments() or HTTP client multipart data to add arbitrary headers or content.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for cakephp.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Timeline
- 2026-10-30 Threatist record created from CVE-2026-119415
- 2026-10-30 Alias added: GHSA-vhmx-68q2-m9j5
- 2026-11-01 Priority changed: MEDIUM → LOW
- 2026-11-04 CISA SSVC decision points changed
References
Patch 5
- https://github.com/cakephp/cakephp/commit/2e54c227eaa4c0e0d5edd74931710fd4f8bc38b5
- https://github.com/cakephp/cakephp/commit/27263ae750a3cd8464a5db076f48a731c8283df2
- https://github.com/cakephp/cakephp/commit/c9a91149f04e2aee7faa30ed57d40f5b91d3f79e
- https://github.com/cakephp/cakephp/commit/d66e016d2fd9667dd605b56e25fbb3df5365406a
- https://github.com/cakephp/cakephp/pull/19715
More cakephp vulnerabilities
- TI-2010-04068 The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x… CVSS 2.0HIGH 7.5
- TI-2026-82995 Cookie leakage in CakePHP HTTP client cookie domain matching CVSS 4.0MEDIUM 6.3
- TI-2026-19037 CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting CVSS 3.1MEDIUM 5.4
- TI-2023-08901 Database Query::offset() and limit() vulnerable to SQL injection in cakephp CVSS 3.1CRITICAL 9.8
- TI-2026-54106 CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver CVSS 4.0CRITICAL 9.2
- TI-2026-55232 CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-119415 · CVE Program
- CVE-2026-119415 · NVD
- FIRST EPSS
- GHSA-vhmx-68q2-m9j5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences