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

CVE-2026-44680: MikroORM has SQL injection via runtime-controlled identifiers and JSON-path keys

May 8, 2026

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.

References

  • github.com/advisories/GHSA-cfw5-68c4-ffqp
  • github.com/mikro-orm/mikro-orm
  • github.com/mikro-orm/mikro-orm/pull/7654
  • github.com/mikro-orm/mikro-orm/pull/7657
  • github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp
  • nvd.nist.gov/vuln/detail/CVE-2026-44680

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.0.14

Fixed versions

  • 7.0.14

Solution

Upgrade to version 7.0.14 or above.

Impact 7.6 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/@mikro-orm/sql/CVE-2026-44680.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 00:18:58 +0000.