{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-44680","id":"CVE-2026-44680","title":"MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys","description":"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 identifi","descriptionLong":"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":"2026-05-26T16:49:47.987Z","updated":"2026-10-28T02:30:48.516634606Z","reserved":"2026-05-07T16:20:08.660Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["mikro-orm","@mikro-orm knex","@mikro-orm sql"],"affectedProducts":[{"vendor":"mikro-orm","product":"mikro-orm","defaultStatus":null,"versions":[{"version":">= 7.0.0-rc.0, < 7.0.14","status":"affected"},{"version":"< 6.6.14","status":"affected"}],"platforms":[]},{"vendor":"@mikro-orm","product":"knex","defaultStatus":null,"versions":[{"version":"< 6.6.14","status":"affected"}],"platforms":[]},{"vendor":"@mikro-orm","product":"sql","defaultStatus":null,"versions":[{"version":"< 7.0.14","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@mikro-orm/sql","purl":"pkg:npm/%40mikro-orm/sql","ranges":["<7.0.14"],"fixed":["7.0.14"],"advisory":"GHSA-cfw5-68c4-ffqp"},{"ecosystem":"npm","name":"@mikro-orm/knex","purl":"pkg:npm/%40mikro-orm/knex","ranges":["<6.6.14"],"fixed":["6.6.14"],"advisory":"GHSA-cfw5-68c4-ffqp"}],"cwes":["CWE-89"],"aliases":["GHSA-cfw5-68c4-ffqp"],"references":[{"url":"https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/mikro-orm/mikro-orm/pull/7653","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/mikro-orm/mikro-orm/pull/7654","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/mikro-orm/mikro-orm/pull/7656","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/mikro-orm/mikro-orm/pull/7657","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44680.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44680","tags":["advisory"]},{"url":"https://github.com/mikro-orm/mikro-orm","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0145,"epssPercentile":0.73934,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-44680","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44680","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-44680","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cfw5-68c4-ffqp","ok":true,"note":"GHSA-cfw5-68c4-ffqp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-44680","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}