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

Source: https://junglewise.ai/threats/cve-2026-52887-nocobase-sql-injection-in-in-app-notification-channel-filter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-15. Updated: 2026-07-31  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/nocobase). Vendors: [NocoBase](https://junglewise.ai/threats/vendors/nocobase), [npm](https://junglewise.ai/threats/vendors/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

  ```sh
  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

- [https://api.github.com/users/kah-ja](https://api.github.com/users/kah-ja)
- [https://github.com/kah-ja](https://github.com/kah-ja)
- [https://api.github.com/users/kah-ja/gists%7B/gist_id%7D](https://api.github.com/users/kah-ja/gists%7B/gist_id%7D)
- [https://api.github.com/users/kah-ja/repos](https://api.github.com/users/kah-ja/repos)
- [https://avatars.githubusercontent.com/u/36455663?v=4](https://avatars.githubusercontent.com/u/36455663?v=4)
- [https://api.github.com/users/kah-ja/events%7B/privacy%7D](https://api.github.com/users/kah-ja/events%7B/privacy%7D)

## Related threats

- [NocoBase server-side request forgery in customRequests:send](https://junglewise.ai/threats/cve-2026-79914-nocobase-is-an-ai-powered-no-code-low-code-platform-for-building)
- [NocoBase SQL injection in checkSQL function](https://junglewise.ai/threats/cve-2026-88402-a-sql-injection-vulnerability-in-the-checksql-function-of)
- [NocoBase cross-site scripting in rich text field renderer](https://junglewise.ai/threats/cve-2026-84701-nocobase-cross-site-scripting-in-rich-text-field-renderer)
- [NocoBase arbitrary file write and local file inclusion leading to remote code execution](https://junglewise.ai/threats/nocobase-arbitrary-file-write-and-local-file-inclusion-leading-to-b8ec6b22)
- [NocoBase sensitive data exposure via SQL blacklist bypass in SQL Collection](https://junglewise.ai/threats/cve-2026-52888-nocobase-sensitive-data-exposure-via-sql-blacklist-bypass-in-sql)
