/

CVE-2026-47399

Severity:

HIGH RISK

(8.8)

Object-Level Access Control Flaw (CWE-639) in PraisonAI

CVE-2026-47399

Deferred

Vulnerability type

Category:

Broken Object-Level Authorization

CWE:

CWE-284, CWE-639

Impact:

Cross-Workspace Data Access and Modification

Severity:

HIGH RISK

(8.8)

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

PraisonAI Platform contains an object-level authorization flaw in workspace-scoped REST routes that lets authenticated users act on objects outside their own workspace by guessing or obtaining global UUIDs.

When a user supplies another workspace's object ID, the platform checks workspace membership only on the URL parameter but not on the resolved object, breaking workspace isolation and enabling cross-workspace data access and manipulation.

Affected context

This vulnerability affects PraisonAI Platform deployments that:

  • Use workspace-scoped REST APIs for entities like agents, projects, issues, and comments
  • Rely on a global UUID namespace for objects across workspaces
  • Perform authorization checks only on the workspace_id from the URL, not on the workspace association of the target object

It becomes relevant wherever users can supply arbitrary object IDs in requests and where those IDs are unique across all workspaces.

Exploit preconditions

  • Attack surface: Authenticated REST API endpoints under /api/v1/workspaces/{workspace_id}/... (e.g., agents, projects, issues, comments)
  • Required access: Valid user account with membership in at least one workspace
  • Trigger point: Requests that accept a global object UUID (e.g., agent ID, project ID, issue ID) as a path or body parameter
  • Why exploitation is possible: The route layer only verifies that the caller belongs to the workspace_id specified in the URL, while the service layer resolves and operates on the target object by its global UUID without confirming that the object's workspace matches the URL workspace. This mismatch allows an attacker to reference objects from another workspace that still pass the initial authorization gate.

Why this happens

The underlying bug is a broken object-level authorization pattern, mapped to CWE-639: Authorization Bypass Through User-Controlled Key and CWE-284: Improper Access Control.

Conceptually, the platform treats a user-controlled identifier (the global object UUID) as sufficient to select the resource, and then bases authorization solely on the workspace context derived from the URL. The system fails to couple these two dimensions by verifying that the resolved object actually belongs to the workspace used in the access check. This split between route-level checks and service-level object resolution introduces a trust gap: route authorization is done on one parameter, while the actual resource is chosen by another, unverified parameter. As a result, any authenticated member of one workspace can supply an object UUID from a different workspace and have the platform read or mutate it as though it were local to their own workspace.

Potential impact

  • Cross-workspace reading of sensitive data such as agents, projects, issues, and comments belonging to other teams
  • Unauthorized modification of another workspace's resources, including configuration changes, data updates, and workflow alterations
  • Deletion of critical objects in victim workspaces, potentially causing data loss and operational disruption
  • Breach of multi-tenant isolation guarantees, impacting compliance obligations and customer trust
  • Pivoting opportunities where compromised objects (e.g., agents or projects) are used as a foothold for further abuse inside other workspaces

General mitigation guidance

Effective mitigation focuses on tightening object-level authorization and ensuring that resource access is always validated against the correct tenancy boundary.

Common defensive patterns include:

  • Enforcing tenant ownership checks at the data access layer: Whenever a service resolves an object by ID, it should simultaneously constrain the lookup by the caller's workspace or tenant context, rejecting any resource that does not belong to that context.
  • Using composite keys or scoped identifiers: Instead of global UUIDs alone, design APIs and persistence layers so that resource selection always includes a workspace or tenant identifier, making cross-tenant access impossible via a single shared ID.
  • Aligning route and service authorization: Ensure that the same workspace or tenant identifier used for route-level checks is propagated and enforced consistently in downstream services, repositories, and business logic.
  • Adopting a "default deny" posture for cross-scope operations: Treat any attempt to access or mutate a resource whose workspace does not match the caller's authorized workspace list as an explicit authorization failure.
  • Reducing exposure of raw global IDs: Where feasible, avoid exposing bare global UUIDs across tenants, and prefer per-workspace ID spaces or indirection layers that limit ID reuse and guessing.
  • Applying least-privilege roles: Restrict which user roles can perform destructive or broad operations (like deletion or bulk updates), reducing the blast radius if an ID-based access gap exists.

How teams detect issues like this

Detecting this class of issue benefits from both design-time and runtime approaches.

Design-time and code-centric strategies:

  • Static analysis rules that flag repository or service methods which fetch resources by ID without including workspace or tenant constraints.
  • Code review checklists emphasizing that every method handling multi-tenant resources must validate ownership and not rely solely on URL parameters for scoping.
  • Architecture reviews that look for shared global ID spaces across tenants and inspect how those IDs are validated when passing between layers (controllers, services, data access).
  • Automated tests that explicitly verify negative cases, such as attempting to access one workspace's object from another workspace and expecting an authorization failure.

Runtime and monitoring strategies:

  • Audit logging of resource access that includes requester identity, workspace context, target object ID, and the object's actual workspace or tenant, enabling anomaly detection when mismatches occur.
  • Policy enforcement layers (e.g., API gateways, authorization middleware) that can evaluate workspace/object relationships before requests reach business logic, where supported.
  • Behavioral analytics to detect unusual cross-workspace patterns, such as one user repeatedly accessing objects spanning multiple workspaces.

Organizations may also leverage generalized application security testing tools or custom linters integrated into CI/CD pipelines to automatically highlight missing object-level access checks.

Sources

SourceLink
github.comgithub.com/MervinPraison/PraisonAI/commit/24385d64876577620f749957bd4814f162f4ca47
github.comgithub.com/MervinPraison/PraisonAI/pull/1686
github.comgithub.com/MervinPraison/PraisonAI/security/advisories/GHSA-6h6v-6m7w-7vxx

Frequently asked

questions

The issue is exploitable by any authenticated user who can call workspace-scoped REST routes and who can obtain or guess global UUIDs of objects belonging to other workspaces. It does not require administrative privileges, only standard membership in at least one workspace.

An attacker needs valid credentials for the platform and membership in one or more workspaces. With that access, they can issue API requests under their own workspace context while supplying object IDs from other workspaces, relying on the incomplete object-level authorization checks.

The most robust fix pattern is to enforce object ownership checks at the point where resources are fetched or mutated. Every service or repository method should ensure that the selected object's workspace or tenant matches the caller's authorized context, typically by including workspace constraints in the query and rejecting any mismatches before performing the operation.

Future designs should treat multi-tenancy and workspace boundaries as first-class concerns. This includes adopting per-tenant scoping in both data models and APIs, requiring explicit workspace or tenant parameters in all resource lookups, validating those parameters against the object's stored workspace, and embedding these rules into coding standards, code review practices, and automated tests. Consistent use of these patterns significantly reduces the chance of object-level authorization bugs resurfacing.

Find out what's already
exploitable in your codebase.