CVE-2026-52887: NocoBase SQL injection in in-app notification channel filter

CVE-2026-52887 · Severity: critical · CVSS 10 · Published 2026-07-15

NocoBase, an open-source no-code platform, contains a critical vulnerability in its in-app notification system. An attacker can exploit this to gain full control over the database and execute arbitrary commands on the underlying server. Because the platform allows public registration by default, any user on the internet can perform this attack to steal sensitive data or disrupt operations.

Technologies: Nocobase. Vendors: NocoBase, npm.

Quick answers

Is CVE-2026-52887 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-52887 being exploited in the wild.
How severe is CVE-2026-52887?
Critical severity, with a CVSS score of 10, published 15 July 2026.
Which products and versions are affected?
Nocobase < 2.0.61; NocoBase Plugin-Notification-In-App-Message <= 2.0.60; @nocobase/plugin-notification-in-app-message (npm) <= 2.0.60, SEMVER:introduced=0,fixed=2.0.61.
Is there a fix for CVE-2026-52887?
Yes. @nocobase/plugin-notification-in-app-message (npm): upgrade to 2.0.61 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-52887 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-52887?
Check whether you run Nocobase, NocoBase Plugin-Notification-In-App-Message or @nocobase/plugin-notification-in-app-message (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • @nocobase/plugin-notification-in-app-message (npm): upgrade to 2.0.61 or later
    npm install @nocobase/plugin-notification-in-app-message@2.0.61

Technical details

A SQL injection vulnerability exists in the `latestMsgReceiveTimestamp` filter of the `/api/myInAppChannels:list` endpoint within the `@nocobase/plugin-notification-in-app-message` plugin. The root cause is the use of `Sequelize.literal()` with unescaped user input from the `$lt` query parameter. Since the underlying `pg` driver supports stacked statements and default Docker deployments configure the database user with superuser privileges, an attacker can use the `COPY ... TO PROGRAM` command to achieve remote code execution (RCE) as the postgres user. While the endpoint requires authentication, the default configuration allows anonymous sign-up, making the vulnerability reachable by any remote user. The issue is fixed in version 2.0.61.

Affected products

  • NocoBase @nocobase/plugin-notification-in-app-message <= 2.0.60

Identifiers

  • CVE-2026-52887
  • GHSA-p849-8hwh-84j9

Timeline

  • 2026-06-11: disclosed
  • 2026-07-15: advisory: NVD publication date
  • 2026-07-31: patched: GitHub Advisory published/updated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.