{
  "id": "CVE-2026-34220",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34220",
  "published_at": "2026-03-31T15:19:08.52Z",
  "title": "MikroORM is vulnerable to SQL Injection via specially crafted object",
  "vendor": "mikro-orm",
  "product": "mikro-orm",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-04-27T04:30:33Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 26.5,
    "repo": "EQSTLab/CVE-2026-34220",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:mikro-orm:mikroorm:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 9.8,
    "cna": 9.3
  },
  "repos": [
    {
      "repo": "EQSTLab/CVE-2026-34220",
      "url": "https://github.com/EQSTLab/CVE-2026-34220",
      "created_at": "2026-04-27T04:30:33Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-10-25T15:10:45Z"
    },
    {
      "repo": "yym8538/CVE-2026-34220",
      "url": "https://github.com/yym8538/CVE-2026-34220",
      "created_at": "2026-08-21T04:19:26Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-09-04T01:29:07Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "mikro-orm",
        "product": "mikro-orm",
        "ranges": [
          "\u003c 6.6.10",
          "\u003e= 7.0.0-rc.0, \u003c 7.0.6"
        ],
        "fixed_in": [
          "6.6.10",
          "7.0.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mikro-orm to 6.6.10 or 7.0.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/posts",
      "content_type": "application/json",
      "ports": [
        3000
      ],
      "protocol": "http",
      "repos": [
        "EQSTLab/CVE-2026-34220",
        "yym8538/CVE-2026-34220"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "EQSTLab/CVE-2026-34220/app.js:222",
        "yym8538/CVE-2026-34220/app.js:222"
      ]
    },
    {
      "method": "POST",
      "path_template": "/write",
      "content_type": "application/json",
      "ports": [
        3000
      ],
      "protocol": "http",
      "repos": [
        "EQSTLab/CVE-2026-34220",
        "yym8538/CVE-2026-34220"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "EQSTLab/CVE-2026-34220/README.md:43",
        "yym8538/CVE-2026-34220/README.md:43"
      ]
    },
    {
      "method": "PUT",
      "path_template": "/api/posts/{var}",
      "content_type": "application/json",
      "ports": [
        3000
      ],
      "protocol": "http",
      "repos": [
        "EQSTLab/CVE-2026-34220",
        "yym8538/CVE-2026-34220"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "EQSTLab/CVE-2026-34220/app.js:285",
        "yym8538/CVE-2026-34220/app.js:285"
      ]
    }
  ],
  "rules": []
}
