/

CVE-2026-47409

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-269) in PraisonAI Workspace

CVE-2026-47409

Deferred

Vulnerability type

Category:

Authorization Bypass / Improper Privilege Management

CWE:

CWE-269, CWE-862

Impact:

Privilege Escalation and Account/Owner Lockout

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

An authorization bypass in the PraisonAI Platform workspace membership API allows regular members to remove any other member, including the workspace owner.

When a workspace's DELETE membership endpoint is only gated by basic membership checks, any member can trigger owner lockout and disrupt multi‑agent team operations.

Affected context

The vulnerability occurs in PraisonAI Platform deployments that expose the /workspaces/{workspace_id}/members/{user_id} DELETE endpoint for managing workspace membership.

It becomes risky when:

  • Role-based access control is enforced only via "is a member" checks
  • Workspace owners and privileged roles are managed through the same endpoint
  • There is no guard preventing removal of the last or only workspace owner

Exploit preconditions

  • Attack surface: HTTP API endpoint DELETE /workspaces/{workspace_id}/members/{user_id}
  • Required access: Ability to authenticate as any member of the target workspace
  • Trigger point: Sending a DELETE request targeting another user's membership, including the owner
  • Why exploitation is possible: The handler checks only that the caller is a workspace member (min_role="member"), with no verification of caller privilege, target role, or constraints preventing removal of the last owner

Why this happens

The root cause is improper privilege management and missing authorization checks in role-sensitive operations, aligning with CWE-269 and CWE-862.

Instead of enforcing role-based rules (e.g., only owners or admins can remove other members, and owners cannot be fully removed), the endpoint relies solely on membership verification.

This design treats all workspace members as equally authorized for destructive membership changes, allowing privilege effects such as owner removal without explicit elevated rights.

Potential impact

  • Workspace owners may be removed and locked out of their own workspaces
  • Regular members can effectively seize control of workspace governance
  • Multi-agent teams and workflows may be disrupted or halted
  • Auditability and accountability for membership changes can be undermined
  • Downstream systems relying on owner permissions may fail or behave unpredictably

General mitigation guidance

Mitigation typically involves strengthening authorization logic around membership management operations and enforcing clear role hierarchies.

Useful patterns include:

  • Distinguishing between membership presence checks and privilege checks for sensitive actions
  • Requiring elevated roles (e.g., owner or admin) to remove other members
  • Enforcing rules that prevent removal of the last owner or critical governance roles
  • Centralizing access control decisions in well-reviewed authorization policies rather than ad hoc checks in handlers
  • Applying least privilege principles so that default "member" roles cannot perform destructive governance actions

How teams detect issues like this

Detection generally focuses on identifying endpoints where destructive or governance-changing actions lack role-aware authorization.

Helpful approaches include:

  • Static analysis and manual code review for handlers that modify membership, roles, or ownership without explicit privilege checks
  • Reviewing API specifications for operations that can remove or transfer ownership to ensure policy enforcement is documented and implemented
  • Implementing authorization policy linters that flag actions guarded only by generic "isAuthenticated" or "isMember" checks
  • Monitoring logs for patterns where non-owner users perform high-impact membership changes, such as removing owners or multiple members

Sources

SourceLink
github.comgithub.com/MervinPraison/PraisonAI/commit/24385d64876577620f749957bd4814f162f4ca47
github.comgithub.com/MervinPraison/PraisonAI/pull/1686
github.comgithub.com/MervinPraison/PraisonAI/security/advisories/GHSA-w388-2392-px73

Frequently asked

questions

Yes. Any authenticated member of a workspace can issue a DELETE request that removes other members, including the owner, because the endpoint does not enforce role-based restrictions.

The attacker only needs to be a workspace member. No administrative or owner-level privileges are required; being recognized as a member satisfies the current authorization gate.

Implement explicit, centralized role-based authorization rules for any operation that changes membership, roles, or ownership. Ensure destructive actions require elevated privileges and protect critical roles (such as owners) with additional constraints, like "cannot remove the last owner."

Design an RBAC model early, encode it in a dedicated authorization layer, and mandate that all sensitive operations consult that layer. Combine code review, policy checks, and automated tests to ensure endpoints never rely solely on generic membership or authentication checks for governance-related actions.

Find out what's already
exploitable in your codebase.