---
id: CVE-2026-119415
title: CakePHP through 5.4.3 MIME Header Injection via FormDataPart Content-Type
summary: >-
  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…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-93
vendor: cakephp
product: cakephp
affected:
  - cakephp <= 5.4.3
published: '2026-10-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T11:30:48.078Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119415'
references:
  - url: >-
      https://github.com/cakephp/cakephp/commit/2e54c227eaa4c0e0d5edd74931710fd4f8bc38b5
  - url: >-
      https://github.com/cakephp/cakephp/commit/27263ae750a3cd8464a5db076f48a731c8283df2
  - url: >-
      https://github.com/cakephp/cakephp/commit/c9a91149f04e2aee7faa30ed57d40f5b91d3f79e
  - url: >-
      https://github.com/cakephp/cakephp/commit/d66e016d2fd9667dd605b56e25fbb3df5365406a
  - url: 'https://github.com/cakephp/cakephp/pull/19715'
  - url: >-
      https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Http/Client/FormDataPart.php#L200
  - url: >-
      https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Message.php#L1181
  - url: 'https://abraxaslabs.tech/research/cakephp-attachment-crlf'
  - url: 'https://github.com/cakephp/cakephp'
  - url: >-
      https://www.vulncheck.com/advisories/cakephp-through-5.4.3-mime-header-injection-via-formdatapart-content-type
    label: >-
      VulnCheck Advisory: CakePHP through 5.4.3 MIME Header Injection via
      FormDataPart Content-Type
tags:
  - cve.org
epss: 0.0037
epssPercentile: 0.30949
ingestedAt: '2026-11-03T10:42:03.639Z'
---

## Overview

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.

## Affected

- `cakephp <= 5.4.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
