{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "7.0.0-rc.0"
              },
              {
                "fixed": "7.0.14"
              },
              {
                "introduced": "0"
              },
              {
                "fixed": "6.6.14"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "a2330d20c18a6f1416bc4b90fd26acf3b5896fea"
            },
            {
              "fixed": "f273175367cec4fe651b1ae82080a595a90caab2"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "e9b32a228b416d36b93a64ee5e6a55c1303271e4"
            },
            {
              "fixed": "f273175367cec4fe651b1ae82080a595a90caab2"
            }
          ],
          "repo": "https://github.com/mikro-orm/mikro-orm",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cfw5-68c4-ffqp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44680.json"
  },
  "details": "MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Prior to @mikro-orm/knex 6.6.14 and @mikro-orm/sql 7.0.14, MikroORM's identifier-quoting helper (Platform.quoteIdentifier and the postgres/mssql overrides) and its JSON-path emitters (Platform.getSearchJsonPropertyKey, quoteJsonKey) did not properly escape characters that delimit the SQL identifier or string-literal context they emit into. When application code passes attacker-influenced strings to public ORM APIs that expect an identifier or a JSON-property filter, an attacker can break out of the quoted context and inject arbitrary SQL. This vulnerability is fixed in @mikro-orm/knex 6.6.14 and @mikro-orm/sql 7.0.14.",
  "id": "CVE-2026-44680",
  "modified": "2026-07-08T05:38:41.379728213Z",
  "published": "2026-05-26T16:49:47.987Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44680.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44680"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mikro-orm/mikro-orm/pull/7653"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mikro-orm/mikro-orm/pull/7654"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mikro-orm/mikro-orm/pull/7656"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mikro-orm/mikro-orm/pull/7657"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys"
}