Security mailing lists by PureSourceCode

CVE-2026-44680

HIGH 7.6CVSS 3.1

MikroORM has SQL injection via runtime-controlled identifiers and JSON-path keys

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.

Published
26 May 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-89
Also known as
GHSA-cfw5-68c4-ffqp
Sources
NVDJSONOSV GHSA-cfw5-68c4-ffqpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @mikro-orm/sql < 7.0.14 7.0.14
OSV npm @mikro-orm/knex < 6.6.14 6.6.14

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 May 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.