{"id":"CVE-2026-52888","aliases":["GHSA-v8vm-cqh8-q87q"],"url":"https://o3.security/vulnerability/CVE-2026-52888","summary":"NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass","details":"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.","published":"2026-07-15T20:13:52.669Z","modified":"2026-08-12T03:51:46.947148361Z","cvss":{"score":6.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"},"epss":{"score":0.00469,"percentile":0.39175,"asOf":"2026-09-11"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@nocobase/plugin-collection-sql","fixedVersion":"2.0.62"},{"ecosystem":"npm","name":"@nocobase/plugin-collection-sql","fixedVersion":"2.1.0-alpha.46"},{"ecosystem":"npm","name":"@nocobase/plugin-collection-sql","fixedVersion":"2.1.0-beta.45"}],"fix":{"url":"https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4","label":"nocobase/nocobase@87c5489"},"references":[{"type":"WEB","url":"https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52888.json"},{"type":"ADVISORY","url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52888"},{"type":"FIX","url":"https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:46.947148361Z"}}