{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-63224","id":"CVE-2026-63224","title":"OpenRemote SQL injection in datapoint CSV export","description":"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 ","descriptionLong":"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.","published":"2026-10-30T22:05:43.581Z","updated":"2026-11-08T07:11:31.302162217Z","reserved":"2026-07-15T22:19:06.907Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7.2,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7.2,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7.2,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"}],"rating":"high","products":["openremote"],"affectedProducts":[{"vendor":"openremote","product":"openremote","defaultStatus":null,"versions":[{"version":"< 1.26.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"io.openremote:openremote-manager","purl":"pkg:maven/io.openremote/openremote-manager","ranges":["<1.26.0"],"fixed":["1.26.0"],"advisory":"GHSA-cgfv-jrfp-2r7v"}],"cwes":["CWE-89"],"aliases":["CVE-2026-62238","GHSA-cgfv-jrfp-2r7v"],"references":[{"url":"https://github.com/openremote/core/security/advisories/GHSA-cgfv-jrfp-2r7v","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/openremote/core/commit/02ac83074b81617add814b2a72d459abdf374147","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/openremote/core/releases/tag/1.26.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63224.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63224","tags":["advisory"]},{"url":"https://github.com/openremote/openremote/security/advisories/GHSA-cgfv-jrfp-2r7v","tags":["web"]},{"url":"https://github.com/openremote/openremote/commit/02ac83074b81617add814b2a72d459abdf374147","tags":["web"]},{"url":"https://github.com/openremote/openremote","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00337,"epssPercentile":0.27767,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-63224","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63224","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-63224","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cgfv-jrfp-2r7v","ok":true,"note":"GHSA-cgfv-jrfp-2r7v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-63224","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}