CVE-2026-44680
CVE-2026-44680 · MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
CVSS 7.6 · Alta · EPSS 1,5% · Código de explotación público · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: node
Productos y versiones afectados
mikro-orm
- Versiones
- >= 7.0.0-rc.0, < 7.0.14: Afectada
- < 6.6.14: Afectada
Sin corrección publicada
knex
- Versiones
- < 6.6.14: Afectada
Sin corrección publicada
sql
- Versiones
- < 7.0.14: Afectada
Sin corrección publicada
@mikro-orm/sql npm
- Intervalos de versiones afectados
- SEMVER: < 7.0.14
Actualiza a 7.0.14
@mikro-orm/knex npm
- Intervalos de versiones afectados
- SEMVER: < 6.6.14
Actualiza a 6.6.14
Fuentes originales
- https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp
- https://github.com/mikro-orm/mikro-orm/pull/7653
- https://github.com/mikro-orm/mikro-orm/pull/7654
- https://github.com/mikro-orm/mikro-orm/pull/7656
- https://github.com/mikro-orm/mikro-orm/pull/7657
- https://nvd.nist.gov/vuln/detail/CVE-2026-44680