<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 14:39:44 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-52888</title>
      <link>https://vulnerability.circl.lu/vuln/fkie_cve-2026-52888</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/fkie_cve-2026-52888</guid>
    </item>
    <item>
      <title>GHSA-v8vm-cqh8-q87q — NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-v8vm-cqh8-q87q</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @nocobase/plugin-collection-sql&lt;/p&gt;
&lt;p&gt;# Security Vulnerability Report: Sensitive Data Exposure via SQL Blacklist Bypass&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The `checkSQL()` function in `plugin-collection-sql` implements a **keyword-based blacklist** to prevent dangerous SQL queries from being executed through the SQL Collection feature. However, the blacklist is **incomplete**: it only checks for a subset of dangerous PostgreSQL system functions and **does not restrict access to sensitive system catalog tables** such as `pg_shadow`, `pg_roles`, or `pg_stat_activity`.&lt;/p&gt;
&lt;p&gt;An authenticated user with the `admin` role can exploit this to **dump PostgreSQL password hashes** (`pg_shadow`), **read all NocoBase user credentials** (hashed passwords from the `users` table), and **enumerate the full database schema** — all data that admin users should never be able to access through the application interface.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Affected Component&lt;/p&gt;
&lt;p&gt;**File**: `packages/plugins/@nocobase/plugin-collection-sql/src/server/utils.ts`&lt;/p&gt;
&lt;p&gt;```typescript
export const checkSQL = (sql: string) =&amp;gt; {
  const dangerKeywords = [
    // PostgreSQL — BLOCKED
    &amp;#39;pg_read_file&amp;#39;,
    &amp;#39;pg_read_binary_file&amp;#39;,
    &amp;#39;pg_stat_file&amp;#39;,
    &amp;#39;pg_ls_dir&amp;#39;,
    &amp;#39;pg_logdir_ls&amp;#39;,
    &amp;#39;pg_terminate_backend&amp;#39;,
    &amp;#39;pg_cancel_backend&amp;#39;,
    &amp;#39;current_setting&amp;#39;,
    &amp;#39;set_config&amp;#39;,
    &amp;#39;pg_reload_conf&amp;#39;,
    &amp;#39;pg_sleep&amp;#39;,
    &amp;#39;generate_series&amp;#39;,&lt;/p&gt;
&lt;p&gt;// MySQL — BLOCKED
    &amp;#39;LOAD_FILE&amp;#39;,
    &amp;#39;BENCHMARK&amp;#39;,
    &amp;#39;@@global.&amp;#39;,
    &amp;#39;@@session.&amp;#39;,&lt;/p&gt;
&lt;p&gt;// SQLite — BLOCKED
    &amp;#39;sqlite3_load_extension&amp;#39;,
    &amp;#39;load_extension&amp;#39;,…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @nocobase/plugin-collection-sql&lt;/p&gt;
&lt;p&gt;# Security Vulnerability Report: Sensitive Data Exposure via SQL Blacklist Bypass&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The `checkSQL()` function in `plugin-collection-sql` implements a **keyword-based blacklist** to prevent dangerous SQL queries from being executed through the SQL Collection feature. However, the blacklist is **incomplete**: it only checks for a subset of dangerous PostgreSQL system functions and **does not restrict access to sensitive system catalog tables** such as `pg_shadow`, `pg_roles`, or `pg_stat_activity`.&lt;/p&gt;
&lt;p&gt;An authenticated user with the `admin` role can exploit this to **dump PostgreSQL password hashes** (`pg_shadow`), **read all NocoBase user credentials** (hashed passwords from the `users` table), and **enumerate the full database schema** — all data that admin users should never be able to access through the application interface.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Affected Component&lt;/p&gt;
&lt;p&gt;**File**: `packages/plugins/@nocobase/plugin-collection-sql/src/server/utils.ts`&lt;/p&gt;
&lt;p&gt;```typescript
export const checkSQL = (sql: string) =&amp;gt; {
  const dangerKeywords = [
    // PostgreSQL — BLOCKED
    &amp;#39;pg_read_file&amp;#39;,
    &amp;#39;pg_read_binary_file&amp;#39;,
    &amp;#39;pg_stat_file&amp;#39;,
    &amp;#39;pg_ls_dir&amp;#39;,
    &amp;#39;pg_logdir_ls&amp;#39;,
    &amp;#39;pg_terminate_backend&amp;#39;,
    &amp;#39;pg_cancel_backend&amp;#39;,
    &amp;#39;current_setting&amp;#39;,
    &amp;#39;set_config&amp;#39;,
    &amp;#39;pg_reload_conf&amp;#39;,
    &amp;#39;pg_sleep&amp;#39;,
    &amp;#39;generate_series&amp;#39;,&lt;/p&gt;
&lt;p&gt;// MySQL — BLOCKED
    &amp;#39;LOAD_FILE&amp;#39;,
    &amp;#39;BENCHMARK&amp;#39;,
    &amp;#39;@@global.&amp;#39;,
    &amp;#39;@@session.&amp;#39;,&lt;/p&gt;
&lt;p&gt;// SQLite — BLOCKED
    &amp;#39;sqlite3_load_extension&amp;#39;,
    &amp;#39;load_extension&amp;#39;,…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-v8vm-cqh8-q87q</guid>
    </item>
  </channel>
</rss>
