# CVE-2026-52887: NocoBase: SQL injection in /api/myInAppChannels:list filter to PG-superuser RCE

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-15T20:16:43.023Z
- Modified: 2026-07-31T20:00:18.574Z
- Also known as: GHSA-p849-8hwh-84j9
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nocobase nocobase: < 2.0.61
- @nocobase/plugin-notification-in-app-message (npm): before 2.0.61

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/nocobase/nocobase/security/advisories/GHSA-p849-8hwh-84j9> (exploit, web)
- <https://github.com/nocobase/nocobase/commit/68d64e3fcfb8be2ae4f3bfc9e1ee3f85b87c89ce> (web)
- <https://github.com/nocobase/nocobase/releases/tag/v2.0.61> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52887> (advisory)
- <https://github.com/nocobase/nocobase/pull/9630> (web)
- <https://github.com/nocobase/nocobase> (package)

## Sources

- CVE List: [CVE-2026-52887](https://www.cve.org/CVERecord?id=CVE-2026-52887), CVE Terms of Use, modified 2026-07-20
- GitHub Advisory Database: [GHSA-p849-8hwh-84j9](https://github.com/advisories/GHSA-p849-8hwh-84j9), CC-BY-4.0, modified 2026-07-31
- NVD: [CVE-2026-52887](https://nvd.nist.gov/vuln/detail/CVE-2026-52887), Public domain, modified 2026-07-20

---

Page: https://cve.day/CVE-2026-52887 · Whole record: https://cve.day/CVE-2026-52887.json · Rebuilt by cve.day 2026-11-25T22:59:28.345Z
