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


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…