CVE-2026-52888
Deferred Deferred - Pending Action

SQL Injection in NocoBase via PostgreSQL System Tables

Vulnerability report for CVE-2026-52888, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-15

Last updated on: 2026-07-16

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-15
Last Modified
2026-07-16
Generated
2026-08-05
AI Q&A
2026-07-16
EPSS Evaluated
2026-08-03
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
nocobase nocobase to 2.1.0-alpha.46 (exc)
nocobase plugin_collection_sql to 2.1.0-alpha.46 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-184 The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.
CWE-200 The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

NocoBase versions 2.0.59 and earlier contain a flaw in the @nocobase/plugin-collection-sql plugin. The checkSQL() function uses an incomplete keyword blacklist that fails to block access to PostgreSQL system catalog tables like pg_shadow, pg_roles, and pg_stat_activity. This allows an admin-role user to read sensitive data such as password hashes and database metadata through the SQL Collection feature.

Detection Guidance

To detect this vulnerability, check if your NocoBase instance is running version 2.0.59 or earlier. Inspect the @nocobase/plugin-collection-sql package for the checkSQL() function in packages/plugins/@nocobase/plugin-collection-sql/src/server/utils.ts. Verify if PostgreSQL system catalog tables like pg_shadow, pg_roles, or pg_stat_activity are accessible through the SQL Collection feature.

Impact Analysis

An attacker with admin privileges could exploit this to access confidential database information, including user credentials and metadata. This could lead to unauthorized data exposure, privilege escalation, or further attacks on the system.

Compliance Impact

This vulnerability could result in unauthorized access to sensitive data, violating compliance requirements for GDPR and HIPAA. Organizations may face legal penalties, reputational damage, and loss of trust due to data breaches.

Mitigation Strategies

Upgrade NocoBase to version 2.1.0-alpha.46 or later to address the incomplete SQL keyword blacklist. Restrict admin-role user access to PostgreSQL system catalog tables and review SQL Collection feature permissions to prevent unauthorized access to sensitive data.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-52888. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart