CVE-2026-44680: MikroORM has SQL injection via runtime-controlled identifiers and JSON-path keys
(updated )
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/pull/7653
- github.com/mikro-orm/mikro-orm/pull/7654
- github.com/mikro-orm/mikro-orm/pull/7656
- 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 →