/

CVE-2026-47412

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-269) in PraisonAI Workspace

CVE-2026-47412

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-269, CWE-862

Impact:

Destructive Data Loss / Account Compromise

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

PraisonAI Platform exposes a destructive workspace deletion endpoint that is only gated by basic membership checks rather than strong ownership controls.

Any member of a workspace can issue a delete request that irreversibly removes all associated data, making the vulnerability risky in multi-user, collaborative environments.

Affected context

This vulnerability appears in PraisonAI Platform's workspace management API, specifically in environments where multiple users share workspaces and rely on role-based permissions.

It manifests when the DELETE operation on workspace resources is guarded only by a low-privilege membership requirement, without additional checks for owner or admin roles, confirmation steps, or soft-delete safeguards.

Installations that allow many users to join a workspace, especially in shared SaaS or internal team instances, are more exposed because any ordinary member can trigger cascading deletion of the workspace and all related records.

Exploit preconditions

  • Attack surface: HTTP API endpoint DELETE /workspaces/{workspace_id} exposed to authenticated workspace members.
  • Required access: Valid PraisonAI account with membership in the target workspace at the default "member" role or higher.
  • Trigger point: Sending a single DELETE request to the workspace deletion endpoint with a workspace identifier the attacker can access.
  • Why exploitation is possible: The authorization layer only checks that the user is a workspace member and does not enforce elevated privileges, ownership, confirmation tokens, or protective workflows for destructive operations.

Why this happens

The underlying bug is an authorization design flaw where a highly destructive operation shares the same minimal access gate used for routine workspace interactions.

In terms of CWE-269, the system fails to enforce proper privilege separation by allowing users with basic membership roles to perform operations that should be restricted to owners or administrators.

The lack of a stronger authorization control, combined with the absence of secondary safeguards like soft deletes, confirmation challenges, or multi-step workflows, maps to CWE-862 as well, since critical functionality is effectively exposed without sufficient access control rules.

Abstractly, this reflects a pattern where sensitive resource lifecycle actions (create/delete/transfer) do not receive distinct, higher-privilege checks and are inadvertently callable by ordinary users.

Potential impact

  • A workspace member may delete an entire workspace and all associated projects, issues, comments, agents, labels, and membership records.
  • Users could cause permanent loss of collaborative work, planning data, and operational context for multi-agent teams.
  • Malicious insiders could disrupt teams, sabotage projects, or perform retaliatory data destruction.
  • Accidental misuse by non-technical members can lead to unexpected, irrecoverable data loss.
  • Organizations may experience denial of service at the workspace level if critical spaces are wiped.

General mitigation guidance

Mitigation centers on strengthening authorization semantics around destructive operations and applying defensive design to resource lifecycle actions.

Common secure patterns include:

  • Treat delete operations on shared resources as privileged actions, restricted to owners or designated administrator roles.
  • Implement multi-factor or multi-step confirmation flows for irreversible changes, such as explicit confirmations, secondary tokens, or "type the workspace name" prompts.
  • Prefer soft-delete or archival for high-value resources, with retention windows and clear recovery paths to reduce the impact of mistakes or abuse.
  • Ensure role definitions clearly distinguish between routine collaboration actions (e.g., creating issues, comments) and administrative controls (e.g., deleting workspaces).
  • Apply secure-by-default API designs where destructive endpoints require explicit opt-in and are not accessible with generic membership-level permissions.

How teams detect issues like this

Detection efforts can focus on both proactive design review and ongoing operational monitoring.

Recommended approaches include:

  • Reviewing access control policies and code paths to ensure destructive operations use stricter authorization checks than ordinary CRUD endpoints.
  • Applying static analysis or policy-as-code rules that flag endpoints performing bulk deletion or cascading operations when they are gated only by low-privilege roles.
  • Conducting targeted threat modeling around workspace, project, and account lifecycle APIs to identify endpoints where role checks or confirmation steps are missing.
  • Monitoring API logs for unusual patterns of workspace deletions, such as deletions by non-owner roles or spikes in deletion activity correlated with specific accounts.
  • Integrating automated security review tools into CI/CD to catch authorization misconfigurations and missing privilege separations before deployment.

Sources

SourceLink
github.comgithub.com/MervinPraison/PraisonAI/commit/24385d64876577620f749957bd4814f162f4ca47
github.comgithub.com/MervinPraison/PraisonAI/pull/1686
github.comgithub.com/MervinPraison/PraisonAI/security/advisories/GHSA-g8rr-7rj2-f627

Frequently asked

questions

Exploitation is limited to users who are members of a workspace, but within those boundaries, any member can trigger complete deletion of the workspace. In large teams or shared environments, the risk is significant because ordinary users have the capability to wipe high-value collaborative spaces.

An attacker needs a valid PraisonAI account and membership in the target workspace, even at a basic "member" role. No elevated privileges, owner status, or special tokens are required under the vulnerable design.

The safest approach is to enforce strict role-based authorization for destructive operations, allowing only owners or administrators to perform workspace deletions. Complement this with confirmation workflows, soft-delete mechanisms, and clear separation in code between administrative endpoints and regular user actions.

Prevention involves codifying access control policies for resource lifecycle operations, performing systematic authorization reviews during design and code review, and adopting security controls such as least privilege, defense-in-depth around critical endpoints, and automated checks that flag destructive actions guarded by low-privilege roles.

Find out what's already
exploitable in your codebase.