/

CVE-2026-55544

Severity:

HIGH RISK

(7.6)

Broken Access Control (CWE-284) in NextCRM MCP APIs

CVE-2026-55544

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-284, CWE-639, CWE-862

Impact:

Horizontal Privilege Escalation and Data Tampering

Severity:

HIGH RISK

(7.6)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

NextCRM 0.12.1 contains a broken access control issue in its MCP campaign APIs, where authorization checks rely only on campaign IDs and not on the authenticated user.

A low-privileged user with a valid MCP API token can access, modify, or delete campaigns belonging to other users, and may interfere with campaign delivery workflows.

Affected context

This weakness appears in the MCP campaign tooling within NextCRM's network-exposed APIs.

It is relevant when:

  • MCP Bearer tokens (nxtc__...) are issued to regular users
  • Campaign operations (read/write) are performed by object ID
  • The application trusts object identifiers without re-checking ownership or tenant boundaries

Under these conditions, campaign resources belonging to other users may be exposed through the same API surface.

Exploit preconditions

  • Attack surface: HTTP-based MCP campaign endpoints exposed by the NextCRM backend.
  • Required access: An authenticated low-privileged NextCRM account with the ability to create or use MCP API tokens.
  • Trigger point: Invoking MCP campaign handlers with arbitrary campaign IDs, template IDs, or step identifiers.
  • Why exploitation is possible: Several handlers enforce no per-object ownership or tenant verification; authorization is effectively reduced to "has a valid token," allowing any campaign ID to be read or mutated regardless of who owns it.

Why this happens

The underlying flaw is an incomplete enforcement of authorization rules in resource-specific handlers.

While the overall authorization model intends to limit users to campaigns they created, the MCP campaign endpoints perform lookups and mutations solely by object ID and do not confirm that the authenticated user is the campaign owner or belongs to the correct tenant/context.

This corresponds to CWE-284 (Improper Access Control) and CWE-639 (Insecure Direct Object Reference), where user-controllable identifiers directly select backend objects without a consistent permission check.

Additionally, aspects of CWE-862 (Missing Authorization) are present because certain operations fail to re-apply the necessary authorization logic at the handler level.

Potential impact

  • Low-privileged users can read detailed information about campaigns owned by other users or teams.
  • Attackers may update or delete other users' campaigns, altering schedules, audiences, or content.
  • Campaign templates and steps can be modified, potentially corrupting workflows or injecting misleading messaging.
  • Campaign delivery can be triggered, paused, or disrupted, affecting business operations and customer communications.
  • In multi-tenant deployments, cross-tenant data exposure and regulatory compliance issues can arise.

General mitigation guidance

Resilience against this class of issues typically relies on enforcing consistent, centralized authorization checks for every resource-accessing operation.

Helpful patterns include:

  • Implementing a single authorization layer that is invoked by all MCP campaign handlers and validates ownership, tenant membership, and role-based permissions for each requested object.
  • Designing data access patterns so that queries are constrained by the authenticated principal (e.g., always scoping lookups by user/tenant context in addition to object ID).
  • Treating API tokens as bound to a specific principal and ensuring that every handler derives permissions from that principal rather than from the mere presence of a token.
  • Applying least-privilege defaults, where MCP tokens grant only the minimal set of actions required, and write operations require explicit permission checks per campaign.
  • Conducting regular authorization reviews to ensure newly added endpoints inherit and enforce the same access control logic as existing routes.

How teams detect issues like this

Detection normally targets both code-level and behavioral indicators of broken access control:

  • Static analysis / code review:
  • Flag handlers that query or mutate campaign objects solely by ID without filtering by authenticated user or tenant.
  • Highlight any direct repository or ORM calls where user context is not part of the query criteria.
  • Enforce patterns requiring explicit authorization middleware or decorators around MCP endpoints.
  • Automated testing / policy enforcement:
  • Add access control tests that attempt to access resources created by another user or tenant and verify they are denied.
  • Use API gateways or service meshes to ensure identity and authorization metadata is consistently propagated and checked.
  • Operational monitoring:
  • Monitor logs for MCP token activity where a single low-privileged account accesses many different campaign IDs or tenants.
  • Use anomaly detection to identify unusual patterns of cross-account campaign changes.

Automated code review tools and security linters can be integrated into CI pipelines to surface endpoints that omit shared authorization mechanisms.

Sources

SourceLink
github.comgithub.com/pdovhomilja/nextcrm-app/security/advisories/GHSA-c9vg-c532-ppqx

Frequently asked

questions

Any user who can obtain or generate a valid MCP API token and reach the MCP campaign endpoints could potentially exploit this issue, but exploitation is constrained to authenticated users rather than anonymous attackers.

The attacker needs a low-privileged NextCRM account with MCP token capability and network access to the MCP API endpoints; no administrative role is required because the flaw is in per-handler authorization.

The most robust fix is to centralize and enforce ownership and tenant checks in all MCP campaign handlers, ensuring that every operation scopes database queries by the authenticated user or tenant and rejects access if the caller lacks explicit permission for the target campaign.

Future prevention hinges on adopting an authorization-by-default architecture: mandate shared authorization middleware, require tests for cross-user access attempts, standardize repository query patterns that always include principal context, and integrate automated checks in CI to flag any new endpoints that bypass these mechanisms.

Find out what's already
exploitable in your codebase.