p PatchFirst

CVE-2026-44680

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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 · Élevée · EPSS 1,5% · Code d’exploitation public · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • mikro-orm

    Versions du logiciel
    • >= 7.0.0-rc.0, < 7.0.14: Concernée
    • < 6.6.14: Concernée

    Aucun correctif publié

  • knex

    Versions du logiciel
    • < 6.6.14: Concernée

    Aucun correctif publié

  • sql

    Versions du logiciel
    • < 7.0.14: Concernée

    Aucun correctif publié

  • @mikro-orm/sql npm

    Plages de versions concernées
    • SEMVER: < 7.0.14

    Mettez à jour vers 7.0.14

  • @mikro-orm/knex npm

    Plages de versions concernées
    • SEMVER: < 6.6.14

    Mettez à jour vers 6.6.14

Sources originales

Vérifiez votre serveur →