{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.1.8"
                  },
                  {
                    "last_affected": "5.1.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "5.2.14"
                  },
                  {
                    "last_affected": "5.2.15"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "5.4.0"
                  },
                  {
                    "last_affected": "5.4.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "4.5.12"
                  },
                  {
                    "last_affected": "4.5.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.6.5"
                  },
                  {
                    "last_affected": "4.6.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "5.3.7"
                  },
                  {
                    "last_affected": "5.3.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "2b9326ca3f17b2e940c6c9f50d821e9929c00f39"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "773587406a29eedc2e0031e12683b08e112cc538"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "3b997318539c48a423b77651c61c9f229cbf9e33"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "e5936b286cc389b1497fd9b675a2133ba9ac557d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "ca09a842c67025a80d4dea35056d3f2d3c10c65c"
            },
            {
              "last_affected": "1b06accdee89c0993a8cbccc865bc43f079ed3c9"
            },
            {
              "introduced": "111336d93f8fb044b2b68d4526cf10876432fd2d"
            },
            {
              "last_affected": "d1e4a9327c6c0f389ac27ac1c4fb79a9446bdf41"
            },
            {
              "introduced": "82328ac6bfd47cf7fb62fdba1aa30425c74be6ca"
            },
            {
              "last_affected": "6f3dd91371ac0698b64024ddb21d57def9fbba91"
            },
            {
              "introduced": "cc9dbe1fbcb1cb6fd20eb2ebf457c9774dfa5f49"
            },
            {
              "fixed": "2b9326ca3f17b2e940c6c9f50d821e9929c00f39"
            },
            {
              "fixed": "773587406a29eedc2e0031e12683b08e112cc538"
            },
            {
              "fixed": "3b997318539c48a423b77651c61c9f229cbf9e33"
            },
            {
              "fixed": "e5936b286cc389b1497fd9b675a2133ba9ac557d"
            }
          ],
          "repo": "https://github.com/cakephp/cakephp",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.5.12",
        "4.6.5",
        "5.3.7"
      ]
    }
  ],
  "aliases": [
    "GHSA-2qh5-382h-3jpc"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-93"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119417.json"
  },
  "details": "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.",
  "id": "CVE-2026-119417",
  "modified": "2026-11-01T02:30:44.722102240Z",
  "published": "2026-10-30T11:30:49.444Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://abraxaslabs.tech/research/cakephp-smtp-crlf"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119417.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119417"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/cakephp-through-5.4.3-email-header-injection-via-bare-cr-lf-in-smtptransport-and-mailtransport"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/2b9326ca3f17b2e940c6c9f50d821e9929c00f39"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/3b997318539c48a423b77651c61c9f229cbf9e33"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/773587406a29eedc2e0031e12683b08e112cc538"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/e5936b286cc389b1497fd9b675a2133ba9ac557d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/pull/19695"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cakephp/cakephp"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/MailTransport.php#L57"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Mailer/Transport/SmtpTransport.php#L574"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport"
}