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

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.45%, higher than 74% of CVEs (2026-12-01)
- Published: 2026-05-08T19:17:45.000Z
- Modified: 2026-09-10T03:50:46.602Z
- Also known as: GHSA-cfw5-68c4-ffqp
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- mikro-orm mikro-orm: >= 7.0.0-rc.0, < 7.0.14; < 6.6.14
- @mikro-orm knex: < 6.6.14
- @mikro-orm sql: < 7.0.14
- @mikro-orm/sql (npm): before 7.0.14
- @mikro-orm/knex (npm): before 6.6.14

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`

## References

- <https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp> (web)
- <https://github.com/mikro-orm/mikro-orm/pull/7653> (web)
- <https://github.com/mikro-orm/mikro-orm/pull/7654> (web)
- <https://github.com/mikro-orm/mikro-orm/pull/7656> (web)
- <https://github.com/mikro-orm/mikro-orm/pull/7657> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44680> (advisory)
- <https://github.com/mikro-orm/mikro-orm> (package)

## Sources

- CVE List: [CVE-2026-44680](https://www.cve.org/CVERecord?id=CVE-2026-44680), CVE Terms of Use, modified 2026-05-26
- GitHub Advisory Database: [GHSA-cfw5-68c4-ffqp](https://github.com/advisories/GHSA-cfw5-68c4-ffqp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44680](https://nvd.nist.gov/vuln/detail/CVE-2026-44680), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-44680 · Whole record: https://cve.day/CVE-2026-44680.json · Rebuilt by cve.day 2026-11-25T22:59:22.337Z
