{"id":"CVE-2026-52887","state":"PUBLISHED","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 authenticated user to run stacked PostgreSQL statements and potentially execute commands with COPY ... TO PROGRAM. This vulnerability is fixed in 2.0.61.","publishedAt":"2026-07-15T20:16:43.023Z","updatedAt":"2026-07-20T14:39:47.788Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nocobase nocobase"],"affected":[{"vendor":"nocobase","product":"nocobase","versions":[{"version":"< 2.0.61","status":"affected"}]}],"references":["https://github.com/nocobase/nocobase/security/advisories/GHSA-p849-8hwh-84j9","https://github.com/nocobase/nocobase/commit/68d64e3fcfb8be2ae4f3bfc9e1ee3f85b87c89ce","https://github.com/nocobase/nocobase/releases/tag/v2.0.61"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/52xxx/CVE-2026-52887.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-52887","state":"PUBLISHED","datePublished":"2026-07-15T20:16:43.023Z","dateUpdated":"2026-07-20T14:39:47.788Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-08T21:44:27.365Z"},"containers":{"cna":{"title":"NocoBase: SQL injection in /api/myInAppChannels:list filter to PG-superuser RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nocobase","product":"nocobase","versions":[{"version":"< 2.0.61","status":"affected"}]}],"references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-p849-8hwh-84j9","name":"https://github.com/nocobase/nocobase/security/advisories/GHSA-p849-8hwh-84j9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nocobase/nocobase/commit/68d64e3fcfb8be2ae4f3bfc9e1ee3f85b87c89ce","name":"https://github.com/nocobase/nocobase/commit/68d64e3fcfb8be2ae4f3bfc9e1ee3f85b87c89ce","tags":["x_refsource_MISC"]},{"url":"https://github.com/nocobase/nocobase/releases/tag/v2.0.61","name":"https://github.com/nocobase/nocobase/releases/tag/v2.0.61","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T20:16:43.023Z"},"source":{"advisory":"GHSA-p849-8hwh-84j9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-p849-8hwh-84j9","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-20T14:39:37.974692Z","id":"CVE-2026-52887","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-20T14:39:47.788Z"}}]}}}