{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.6.10"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a55e6f21abf0f8c5a7d7d49b5c3b78498023fc7b"
            }
          ],
          "repo": "https://github.com/mikro-orm/mikro-orm",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "7.0.0-rc.0"
              },
              {
                "fixed": "7.0.6"
              }
            ]
          },
          "events": [
            {
              "introduced": "a2330d20c18a6f1416bc4b90fd26acf3b5896fea"
            },
            {
              "fixed": "9a855e0f55d16f42761e9a0d05040643be5867f6"
            }
          ],
          "repo": "https://github.com/mikro-orm/mikro-orm",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gwhv-j974-6fxm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34220.json"
  },
  "details": "MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Prior to versions 6.6.10 and 7.0.6, there is a SQL injection vulnerability when specially crafted objects are interpreted as raw SQL query fragments. This issue has been patched in versions 6.6.10 and 7.0.6.",
  "id": "CVE-2026-34220",
  "modified": "2026-04-01T23:10:13.786913789Z",
  "published": "2026-03-31T15:19:08.520Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34220.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34220"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "MikroORM is vulnerable to SQL Injection via specially crafted object"
}