{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "5.4.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "ae8c354cf825aeb7090ea4b48ce98142446f3ac9"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "21951faea40060dcc5cc1da3159056df66816d3c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "d04d342c3d1e0bac7ce7661bc098902cc412e595"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "ac07372e6a3045ce2030701a5bc5ed71aa2b4b82"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ae8c354cf825aeb7090ea4b48ce98142446f3ac9"
            },
            {
              "fixed": "21951faea40060dcc5cc1da3159056df66816d3c"
            },
            {
              "fixed": "d04d342c3d1e0bac7ce7661bc098902cc412e595"
            },
            {
              "fixed": "ac07372e6a3045ce2030701a5bc5ed71aa2b4b82"
            }
          ],
          "repo": "https://github.com/cakephp/cakephp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119419.json"
  },
  "details": "CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated collation values to StringExpression and IdentifierExpression. Attackers controlling a collation name passed to the constructor or setCollation() can append SQL after the unquoted COLLATE clause, affecting every database driver within the connection's privileges.",
  "id": "CVE-2026-119419",
  "modified": "2026-11-05T21:16:10.075875093Z",
  "published": "2026-10-30T11:30:50.862Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://abraxaslabs.tech/research/cakephp-collate-sqli"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119419.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119419"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/cakephp-through-5.4.3-sql-injection-via-stringexpression-and-identifierexpression-collation"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/21951faea40060dcc5cc1da3159056df66816d3c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/ac07372e6a3045ce2030701a5bc5ed71aa2b4b82"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/ae8c354cf825aeb7090ea4b48ce98142446f3ac9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/d04d342c3d1e0bac7ce7661bc098902cc412e595"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/pull/19726"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cakephp/cakephp"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/IdentifierExpression.php#L106"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/StringExpression.php#L77"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation"
}