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