{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.26.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "02ac83074b81617add814b2a72d459abdf374147"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.26.0",
                "range": [
                  {
                    "fixed": "6a1aeda98502618d115aa777b62be57ec16fa59b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6a1aeda98502618d115aa777b62be57ec16fa59b"
            },
            {
              "fixed": "02ac83074b81617add814b2a72d459abdf374147"
            }
          ],
          "repo": "https://github.com/openremote/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cgfv-jrfp-2r7v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63224.json"
  },
  "details": "OpenRemote is an open-source internet-of-things platform. Prior to 1.26.0, the `datapoint export` API constructs `CSV crosstab` SQL by concatenating an `asset name` and `attribute name` into a `COPY` query that uses `crosstab` and streams `TO STDOUT`. The `asset name` enters both a double-quoted column identifier and a category query enclosed by the fixed `$cat$` delimiter. Escaping single quotes in one string context does not escape embedded double quotes in identifiers or protect that dollar-quote boundary. An authenticated user permitted to create or rename an asset and read/export datapoints for one of its attributes can store SQL metacharacters in the name and request a `crosstab` export, causing injected SELECT output to be returned in the normal ZIP/CSV response. This enables database exfiltration without direct database or filesystem access or token forgery. In a multi-tenant deployment it can expose other tenants' data if the manager's database role can read shared tables; integrity and availability effects are not established by the demonstrated read primitive. This issue is fixed in version 1.26.0.",
  "id": "CVE-2026-63224",
  "modified": "2026-11-08T02:31:06.119632580Z",
  "published": "2026-10-30T22:05:43.581Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/openremote/core/releases/tag/1.26.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63224.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openremote/core/security/advisories/GHSA-cgfv-jrfp-2r7v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63224"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openremote/core/commit/02ac83074b81617add814b2a72d459abdf374147"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenRemote has authenticated SQL injection in crosstab datapoint exports"
}