Search

Find a vulnerability

Search criteria Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    2 vulnerabilities found for sql by @mikro-orm

    CVE-2026-44680 (GCVE-0-2026-44680)

    Vulnerability from nvd – Published: 2026-05-26 16:49 – Updated: 2026-05-26 17:40
    VLAI
    Title
    MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys
    Summary
    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.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
    Assigner
    Impacted products
    Vendor Product Version
    mikro-orm mikro-orm Affected: >= 7.0.0-rc.0, < 7.0.14
    Affected: < 6.6.14
    Create a notification for this product.
    @mikro-orm knex Affected: < 6.6.14
    Create a notification for this product.
    @mikro-orm sql Affected: < 7.0.14
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-44680",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-26T17:40:31.124194Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-26T17:40:52.485Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "mikro-orm",
              "vendor": "mikro-orm",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 7.0.0-rc.0, \u003c 7.0.14"
                },
                {
                  "status": "affected",
                  "version": "\u003c 6.6.14"
                }
              ]
            },
            {
              "product": "knex",
              "vendor": "@mikro-orm",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 6.6.14"
                }
              ]
            },
            {
              "product": "sql",
              "vendor": "@mikro-orm",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 7.0.14"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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\u0027s 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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 7.6,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-26T16:49:47.987Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp"
            },
            {
              "name": "https://github.com/mikro-orm/mikro-orm/pull/7653",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/pull/7653"
            },
            {
              "name": "https://github.com/mikro-orm/mikro-orm/pull/7654",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/pull/7654"
            },
            {
              "name": "https://github.com/mikro-orm/mikro-orm/pull/7656",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/pull/7656"
            },
            {
              "name": "https://github.com/mikro-orm/mikro-orm/pull/7657",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/pull/7657"
            }
          ],
          "source": {
            "advisory": "GHSA-cfw5-68c4-ffqp",
            "discovery": "UNKNOWN"
          },
          "title": "MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-44680",
        "datePublished": "2026-05-26T16:49:47.987Z",
        "dateReserved": "2026-05-07T16:20:08.660Z",
        "dateUpdated": "2026-05-26T17:40:52.485Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-44680 (GCVE-0-2026-44680)

    Vulnerability from cvelistv5 – Published: 2026-05-26 16:49 – Updated: 2026-05-26 17:40
    VLAI
    Title
    MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys
    Summary
    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.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
    Assigner
    Impacted products
    Vendor Product Version
    mikro-orm mikro-orm Affected: >= 7.0.0-rc.0, < 7.0.14
    Affected: < 6.6.14
    Create a notification for this product.
    @mikro-orm knex Affected: < 6.6.14
    Create a notification for this product.
    @mikro-orm sql Affected: < 7.0.14
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-44680",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-26T17:40:31.124194Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-26T17:40:52.485Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "mikro-orm",
              "vendor": "mikro-orm",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 7.0.0-rc.0, \u003c 7.0.14"
                },
                {
                  "status": "affected",
                  "version": "\u003c 6.6.14"
                }
              ]
            },
            {
              "product": "knex",
              "vendor": "@mikro-orm",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 6.6.14"
                }
              ]
            },
            {
              "product": "sql",
              "vendor": "@mikro-orm",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 7.0.14"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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\u0027s 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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 7.6,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-26T16:49:47.987Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp"
            },
            {
              "name": "https://github.com/mikro-orm/mikro-orm/pull/7653",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/pull/7653"
            },
            {
              "name": "https://github.com/mikro-orm/mikro-orm/pull/7654",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/pull/7654"
            },
            {
              "name": "https://github.com/mikro-orm/mikro-orm/pull/7656",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/pull/7656"
            },
            {
              "name": "https://github.com/mikro-orm/mikro-orm/pull/7657",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/mikro-orm/mikro-orm/pull/7657"
            }
          ],
          "source": {
            "advisory": "GHSA-cfw5-68c4-ffqp",
            "discovery": "UNKNOWN"
          },
          "title": "MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-44680",
        "datePublished": "2026-05-26T16:49:47.987Z",
        "dateReserved": "2026-05-07T16:20:08.660Z",
        "dateUpdated": "2026-05-26T17:40:52.485Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }