{"id":"CVE-2026-52888","state":"PUBLISHED","title":"NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass","description":"NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. In 2.0.59 and earlier, NocoBase @nocobase/plugin-collection-sql used the checkSQL() function in packages/plugins/@nocobase/plugin-collection-sql/src/server/utils.ts with an incomplete keyword blacklist that did not restrict PostgreSQL system catalog tables such as pg_shadow, pg_roles, and pg_stat_activity, allowing an admin-role user to read password hashes and database metadata through the SQL Collection feature. This vulnerability is fixed in 2.1.0-alpha.46.","publishedAt":"2026-07-15T20:13:52.669Z","updatedAt":"2026-07-16T15:12:38.696Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["nocobase nocobase"],"affected":[{"vendor":"nocobase","product":"nocobase","versions":[{"version":"< 2.1.0-alpha.46","status":"affected"}]}],"references":["https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q","https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4","https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46"],"weaknesses":["CWE-184","CWE-200"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/52xxx/CVE-2026-52888.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-52888","state":"PUBLISHED","datePublished":"2026-07-15T20:13:52.669Z","dateUpdated":"2026-07-16T15:12:38.696Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-08T21:44:27.365Z"},"containers":{"cna":{"title":"NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass","descriptions":[{"lang":"en","value":"NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. In 2.0.59 and earlier, NocoBase @nocobase/plugin-collection-sql used the checkSQL() function in packages/plugins/@nocobase/plugin-collection-sql/src/server/utils.ts with an incomplete keyword blacklist that did not restrict PostgreSQL system catalog tables such as pg_shadow, pg_roles, and pg_stat_activity, allowing an admin-role user to read password hashes and database metadata through the SQL Collection feature. This vulnerability is fixed in 2.1.0-alpha.46."}],"affected":[{"vendor":"nocobase","product":"nocobase","versions":[{"version":"< 2.1.0-alpha.46","status":"affected"}]}],"references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q","name":"https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4","name":"https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4","tags":["x_refsource_MISC"]},{"url":"https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46","name":"https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-184","lang":"en","description":"CWE-184: Incomplete List of Disallowed Inputs","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T20:13:52.669Z"},"source":{"advisory":"GHSA-v8vm-cqh8-q87q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-16T14:50:08.427743Z","id":"CVE-2026-52888","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-16T15:12:38.696Z"}}]}}}