/

CVE-2026-32821

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-285) in dataCycle-CORE API

CVE-2026-32821

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-285

Impact:

Cross-User Data Access and Modification

Severity:

HIGH RISK

(8.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

dataCycle-CORE allows authenticated API users to have permissions evaluated as other users by passing a user_email parameter, bypassing intended authorization checks.

When a target user owns collections, this behaviour can expose their data and, in some V4 routes, enables cross-user modification of collection contents without proper object-level authorization.

Affected context

This vulnerability affects deployments of dataCycle-CORE up to and including version 25.07.3 where the collection API:

  • Accepts a user_email parameter to determine which user's permissions to evaluate
  • Exposes collection data via API endpoints for authenticated users
  • In V4, provides add_item and remove_item routes that do not enforce object-level authorize! checks

It arises in contexts where API clients can control the effective user identity used for permission evaluation instead of having it derived from their own authenticated session.

Exploit preconditions

  • Attack surface: dataCycle-CORE collection API endpoints, including permission evaluation and collection modification routes.
  • Required access: Valid authenticated API access token for any user; no additional elevated privileges needed.
  • Trigger point: Sending requests that include a user_email corresponding to another user who owns collections, then using known collection IDs with add_item or remove_item in V4.
  • Why exploitation is possible: The API trusts caller-supplied user_email for permission evaluation and omits object-level authorize! checks on certain collection modification routes, allowing actions to be carried out in the context of other users.

Why this happens

The core issue is an authorization design flaw where identity and permission checks rely on caller-controlled parameters instead of the authenticated principal, aligning with CWE-285 (Improper Authorization).

By allowing user_email to dictate whose permissions are evaluated and failing to enforce per-object authorization in modification routes, the system breaks the binding between authentication and authorization.

Abstractly, this reflects a pattern where resource-level operations do not consistently verify that the requesting user is entitled to view or modify the targeted object, leading to cross-user access.

Potential impact

  • Authenticated users may read collections owned by other users.
  • Attackers could add items to another user's collections.
  • Attackers could remove or tamper with items in another user's collections.
  • Data integrity within shared data management environments could be compromised.
  • Unauthorized changes may propagate into downstream data consumers and processes.

General mitigation guidance

Effective mitigation focuses on restoring a strong binding between authenticated identities and authorization decisions.

Recommended patterns include:

  • Deriving the effective user strictly from the authenticated access token or session, not from user-controlled request parameters.
  • Enforcing object-level authorization checks (authorize!-style guards) on all collection read and modification routes, ensuring callers can only act on resources they own or are explicitly allowed to access.
  • Centralizing authorization logic so that per-object checks cannot be bypassed by alternative controllers or code paths.
  • Applying least-privilege principles to API roles so that generic authenticated accounts cannot access or modify other users' collections by design.
  • Conducting regular authorization modelling and threat reviews when adding new API parameters that influence identity or scope.

How teams detect issues like this

Detection typically combines design review and technical inspection:

  • Reviewing API controllers and routes for any parameters (such as user_email) that influence identity or permission evaluation, ensuring they are not user-controlled.
  • Performing code reviews to verify consistent use of object-level authorization checks before returning or mutating collection data.
  • Applying static analysis or policy-based checks that flag authorization decisions made on request parameters rather than authenticated principals.
  • Logging and monitoring for anomalous patterns where a single API client frequently accesses or modifies collections belonging to multiple distinct users.
  • Incorporating automated security testing in CI/CD that exercises multi-tenant scenarios and validates correct enforcement of per-user boundaries.

Sources

SourceLink
github.comgithub.com/datacycle-engine/dataCycle-CORE/security/advisories/GHSA-vjjr-9q8g-mgx7

Frequently asked

questions

Yes, any user with a valid API access token can potentially exploit the issue by supplying a user_email for another user and targeting their collections, assuming they can discover relevant collection identifiers.

No, elevated privileges are not required; the weakness lies in how the API evaluates permissions and lacks object-level checks, making it accessible to regular authenticated accounts.

Bind authorization entirely to the authenticated principal derived from the token or session, remove or strictly constrain user-controlled identity parameters, and ensure every collection read or modification operation performs an object-level authorization check.

Establish clear access control design guidelines, treat all identity-related request parameters as untrusted, perform dedicated authorization threat modelling for new APIs, and adopt automated code review or policy tools that enforce consistent object-level authorization across controllers.

Find out what's already
exploitable in your codebase.