{"id":"CVE-2026-52888","published":"2026-07-15T20:13:52Z","modified":"2026-07-16T15:12:38Z","title":"NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass","vendor":"nocobase","product":"nocobase","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00469,"percentile":0.41473,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4","tags":["x_refsource_MISC"]},{"url":"https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":8.29},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"nocobase","affectedVersions":[{"vendor":"nocobase","product":"nocobase","versions":["< 2.1.0-alpha.46"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-16T14:50:08.427743Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nocobase/plugin-collection-sql","vulnerableRanges":["<2.0.62",">=2.1.0-alpha.1, <2.1.0-alpha.46",">=2.1.0-beta.1, <2.1.0-beta.45"],"patched":["2.0.62","2.1.0-alpha.46","2.1.0-beta.45"],"from":["GHSA-v8vm-cqh8-q87q"],"provenance":"source"}],"summary":{"text":"NocoBase's @nocobase/plugin-collection-sql plugin, in version 2.0.59 and earlier, uses a checkSQL() function with an incomplete keyword blacklist that fails to block PostgreSQL system catalog tables such as pg_shadow, pg_roles, and pg_stat_activity. An attacker with high privileges (an admin-role account, reached over the network with no user interaction required) can use the SQL Collection feature to read password hashes and database metadata.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:08Z"},"euvd":{"id":"EUVD-2026-44800","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41641","published":"2026-05-07","fixed":"2.0.39","kev":false,"link":{"from":"CVE-2026-41641","to":"CVE-2026-52888","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nocobase/plugin-collection-sql","fromFixed":"2.0.39","toFixed":"2.0.62","daysApart":69}]}},{"cve":"CVE-2026-52888","published":"2026-07-15","fixed":"2.1.0-beta.45","kev":false}],"package":"npm:@nocobase/plugin-collection-sql"}}