Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @mikro-orm/core
  4. ›
  5. CVE-2026-34220

CVE-2026-34220: MikroORM is vulnerable to SQL Injection via specially crafted object

March 29, 2026 (updated March 31, 2026)

MikroORM versions <= 6.6.9 and <= 7.0.5 are vulnerable to SQL injection when specially crafted objects are interpreted as raw SQL query fragments.

References

  • github.com/advisories/GHSA-gwhv-j974-6fxm
  • github.com/mikro-orm/mikro-orm
  • github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm
  • nvd.nist.gov/vuln/detail/CVE-2026-34220

Code Behaviors & Features

Detect and mitigate CVE-2026-34220 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.6.10, all versions starting from 7.0.0-dev.0 before 7.0.6

Fixed versions

  • 6.6.10
  • 7.0.6

Solution

Upgrade to versions 6.6.10, 7.0.6 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/@mikro-orm/core/CVE-2026-34220.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:31 +0000.