/

CVE-2026-47130

Severity:

HIGH RISK

(7.1)

Broken Object Authorization (CWE-639) in NextCRM API

CVE-2026-47130

Deferred

Vulnerability type

Category:

Broken Object Level Authorization (BOLA)

CWE:

CWE-639

Impact:

Cross-Tenant Data Tampering

Severity:

HIGH RISK

(7.1)

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

A Broken Object Level Authorization (BOLA) flaw in NextCRM's contact and target update endpoints allows authenticated users to modify records they do not own.

When object-level ownership checks are missing, any user with basic access can tamper with other users' or organizations' CRM data in a multi-tenant environment.

Affected context

This vulnerability appears in multi-tenant deployments of NextCRM where contacts and targets are shared across different users or organizations.

It manifests specifically in the HTTP endpoints responsible for updating CRM contacts and marketing targets, where the API relies on a resource identifier in the request but does not confirm that the caller owns or is permitted to modify that resource.

Environments using role-based access control that grant general "member" access without per-record checks are particularly exposed.

Exploit preconditions

  • Attack surface: HTTP API endpoints for updating contacts and targets.
  • Required access: Any authenticated user account, including low-privileged "member" roles.
  • Trigger point: Sending an update request containing the identifier of a contact or target owned by another user or tenant.
  • Why exploitation is possible: The server authorizes the request based only on session authentication (and possibly broad role), but does not enforce object-level ownership or tenancy checks for the specific record referenced by the ID.

Why this happens

The core issue is missing or incomplete object-level authorization on resources identified by user-controlled identifiers.

Instead of validating that the authenticated principal is allowed to act on the specific contact or target, the server accepts any valid record ID and applies updates as long as the user is logged in.

This maps to CWE-639: Insecure Direct Object Reference (IDOR), where internal object references (such as numeric IDs or UUIDs) are exposed to clients without binding them to the current user's access rights, resulting in Broken Object Level Authorization.

Potential impact

  • An authenticated user may modify contact details belonging to other users or organizations.
  • Attackers could corrupt or overwrite sales and marketing data across tenants.
  • Manipulated CRM records can lead to loss of data integrity and business process disruption.
  • Cross-tenant data tampering could violate contractual and regulatory obligations related to customer data separation.

General mitigation guidance

Effective mitigation focuses on enforcing object-level authorization whenever user-supplied identifiers are used to access or modify resources.

Recommended design patterns include:

  • Implementing ownership checks that ensure the authenticated user or tenant is explicitly associated with the targeted contact or target record before updates are applied.
  • Centralizing authorization logic in a service or middleware layer so that every resource access path goes through consistent policy evaluation.
  • Binding resource identifiers to tenant or account context (for example, scoping queries by tenant ID derived from the session rather than trusting the ID alone).
  • Applying least-privilege principles in role and permission design so broad roles cannot implicitly modify all objects.
  • Favoring secure-by-default APIs where resource access methods automatically filter by the caller's scope, reducing the chance of missing checks.

How teams detect issues like this

Organizations can detect similar vulnerabilities through a combination of review and testing practices:

  • Static analysis and code review: Flag any controller or handler that accepts an ID parameter and performs read or write operations without an explicit authorization check tied to the current user or tenant.
  • Authorization policy review: Examine access-control rules to ensure they operate at the object level, not solely at the endpoint or role level.
  • Security testing: Use automated or manual tests to attempt accessing or updating resources by incrementing or substituting IDs belonging to other accounts, validating that access is denied.
  • Logging and monitoring: Enable detailed logs for authorization failures and unexpected cross-tenant access patterns; analyze them for anomalies suggesting missing checks.

Automated code scanning tools and API security testing platforms can help surface these patterns early in development and during continuous integration.

Sources

SourceLink
github.comgithub.com/pdovhomilja/nextcrm-app/security/advisories/GHSA-mg5f-m89f-4gmc

Frequently asked

questions

The issue is exploitable by any authenticated user who can access the affected endpoints and can guess or enumerate identifiers for contacts or targets belonging to other users or tenants.

No. The description indicates that even standard "member" accounts can exploit the flaw because the missing checks occur at the object level, not at the role level.

Introduce mandatory object-level authorization checks for every operation that reads or modifies a contact or target, ensuring queries are scoped by the authenticated user or tenant context and denying access if ownership or explicit permissions are not present.

Adopt a consistent access-control architecture that centralizes resource authorization, mandate code review focus on any handler using client-provided IDs, and integrate automated tests and tooling that specifically validate object-level access rules across all CRUD operations.

Find out what's already
exploitable in your codebase.