CVE-2026-52887
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedNocoBase 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceSQL injection in NocoBase's @nocobase/plugin-notification-in-app-message allows authenticated users to inject malicious SQL via the filter[latestMsgReceiveTimestamp][$lt] parameter passed to Sequelize.literal() without parameter binding. This enables stacked PostgreSQL queries and potentially OS command execution through the COPY TO PROGRAM feature.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if the in-app notification plugin is installedCheck your NocoBase plugins directory or configuration file for @nocobase/plugin-notification-in-app-message. In a typical installation, inspect the package.json dependencies or the storage/core/plugins database table for this plugin name.Affected if The plugin @nocobase/plugin-notification-in-app-message is present and enabled in the application
-
Determine the installed NocoBase versionRun the command 'npm list @nocobase/server' or check the version field in your package.json file, or query the application's API endpoint that returns version information if available.Affected if The NocoBase version is earlier than 2.0.61 (the fixed release)
-
Verify the database type in useInspect your NocoBase configuration file (typically config/database.ts or .env) for the DB_DIALECT or similar database connection setting, or query the database type from the application configuration.Affected if PostgreSQL is the underlying database, which enables the COPY TO PROGRAM command execution vector described in the CVE
-
Check for recent SQL injection attempts in logsReview application logs, database logs, or security audit logs for patterns containing 'latestMsgReceiveTimestamp' combined with unusual SQL operators, stacked queries, or PostgreSQL system commands.Affected if Log entries show the filter[latestMsgReceiveTimestamp][$lt] parameter being used with suspicious SQL content or unexpected operators
You are affected if the @nocobase/plugin-notification-in-app-message plugin is enabled, your NocoBase version is below 2.0.61, and you are using PostgreSQL as your database backend.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade NocoBase to version 2.0.61 or later to apply the fix. Alternatively, disable the notification-in-app-message plugin if not required.
NocoBase 2.0.61
- Identify the current NocoBase version in use by checking the package.json or installation
- Upgrade NocoBase to version 2.0.61 or later by running the appropriate package manager command (e.g., npm update @nocobase/server or equivalent)
- If using a containerized deployment, update the Docker image tag to use version 2.0.61 or later
- After upgrading, verify the /api/myInAppChannels:list endpoint no longer uses Sequelize.literal() with unsanitized filter parameters by reviewing the plugin code or release notes
- Test the upgraded system to ensure the notification in-app message functionality still works correctly
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,728.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-52887 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-52887 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data