{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-52887","id":"CVE-2026-52887","title":"NocoBase: SQL injection in /api/myInAppChannels:list filter to PG-superuser RCE","description":"NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to 2.0.61, NocoBase @nocobase/plugin-notification-in-app-message exposed GET /api/myInAppChannels:list, where the filter[latestMsgReceiveTimestamp][$lt] value was inserted into a Sequelize.literal() template string without escaping or parameter binding, allowing a signed-up authen","descriptionLong":"NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to 2.0.61, NocoBase @nocobase/plugin-notification-in-app-message exposed GET /api/myInAppChannels:list, where the filter[latestMsgReceiveTimestamp][$lt] value was inserted into a Sequelize.literal() template string without escaping or parameter binding, allowing a signed-up authenticated user to run stacked PostgreSQL statements and potentially execute commands with COPY ... TO PROGRAM. This vulnerability is fixed in 2.0.61.","published":"2026-07-15T20:16:43.023Z","updated":"2026-11-11T10:47:29.132578060Z","reserved":"2026-06-08T21:44:27.365Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["nocobase"],"affectedProducts":[{"vendor":"nocobase","product":"nocobase","defaultStatus":null,"versions":[{"version":"< 2.0.61","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@nocobase/plugin-notification-in-app-message","purl":"pkg:npm/%40nocobase/plugin-notification-in-app-message","ranges":["<2.0.61"],"fixed":["2.0.61"],"advisory":"GHSA-p849-8hwh-84j9"}],"cwes":["CWE-89"],"aliases":["GHSA-p849-8hwh-84j9"],"references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-p849-8hwh-84j9","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/nocobase/nocobase/commit/68d64e3fcfb8be2ae4f3bfc9e1ee3f85b87c89ce","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/nocobase/nocobase/releases/tag/v2.0.61","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52887.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52887","tags":["advisory"]},{"url":"https://github.com/nocobase/nocobase/pull/9630","tags":["web"]},{"url":"https://github.com/nocobase/nocobase","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00892,"epssPercentile":0.60123,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-52887","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52887","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-52887","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p849-8hwh-84j9","ok":true,"note":"GHSA-p849-8hwh-84j9"},{"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-52887","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}