CVE-2026-52887

CRITICAL LAB

NocoBase: SQL injection in /api/myInAppChannels:list filter to PG-superuser RCE

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-52887. PoCs published by BiiTts.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-52887, a SQL injection vulnerability in NocoBase's @nocobase/plugin-notification-in-app-message (<= 2.0.60) that leads to RCE via PostgreSQL's COPY TO PROGRAM command. The exploit leverages unauthenticated account creation to bypass ACL restrictions and execute arbitrary commands as the postgres OS user.

Description

NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to 2.0.61, NocoBase @nocobase/plugin-notification-in-app-message exposed GET /api/myInAppChannels:list, where the filter[latestMsgReceiveTimestamp][$lt] value was inserted into a Sequelize.literal() template string without escaping or parameter binding, allowing a signed-up authenticated user to run stacked PostgreSQL statements and potentially execute commands with COPY ... TO PROGRAM. This vulnerability is fixed in 2.0.61.

Exploits (1)

github WORKING POC
by BiiTts · pythonpoc
https://github.com/BiiTts/CVE-2026-52887-NocoBase-SQLi-RCE

This repository contains a functional exploit for CVE-2026-52887, a SQL injection vulnerability in NocoBase's @nocobase/plugin-notification-in-app-message (<= 2.0.60) that leads to RCE via PostgreSQL's COPY TO PROGRAM command. The exploit leverages unauthenticated account creation to bypass ACL restrictions and execute arbitrary commands as the postgres OS user.

Classification
Working Poc 99%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: NocoBase @nocobase/plugin-notification-in-app-message <= 2.0.60
No auth needed
Prerequisites: Default NocoBase installation with PostgreSQL configured as SUPERUSER · Target must have @nocobase/plugin-notification-in-app-message plugin enabled · Target must allow self-registration (default auth-basic plugin setting)
mistral-large-3 · analyzed Aug 03, 2026 Full analysis →

Scores

CVSS v3 10.0
EPSS 0.0059
EPSS Percentile 45.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull nocobase/nocobase:2.0.57

Details

CWE
CWE-89
Status published
Products (2)
nocobase/nocobase < 2.0.61
nocobase/plugin-notification-in-app-message 0 - 2.0.61npm
Published Jul 15, 2026
Tracked Since Jul 16, 2026