/

CVE-2026-47417

Severity:

HIGH RISK

(8.1)

IDOR (CWE-639) in PraisonAI workspace comments

CVE-2026-47417

Deferred

Vulnerability type

Category:

Insecure Direct Object Reference

CWE:

CWE-639

Impact:

Cross-Workspace Data Access and Unauthorized Actions

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 contains an Insecure Direct Object Reference in its issue comment endpoints, allowing users to access comments across workspaces without proper scoping checks.

When a user is a member of any workspace, they can read and post comments on issues belonging to other workspaces, exposing cross-tenant data and enabling unauthorized interaction with isolated projects.

Affected context

The vulnerability appears in PraisonAI Platform's multi-workspace comment functionality, specifically around issue comments.

It manifests when authorization checks validate only that a user belongs to some workspace, but do not ensure that the referenced issue actually resides within that workspace.

This typically affects deployments where multiple teams or tenants share a single PraisonAI instance and rely on workspace boundaries for isolation.

Exploit preconditions

  • Attack surface: HTTP API endpoints for issue comments:
  • POST /workspaces/{workspace_id}/issues/{issue_id}/comments
  • GET /workspaces/{workspace_id}/issues/{issue_id}/comments
  • Required access: Valid authenticated user membership in at least one workspace.
  • Trigger point: Supplying an issue_id that belongs to a different workspace than the workspace_id used in the request.
  • Why exploitation is possible: The system enforces membership on workspace_id only and then passes issue_id directly to CommentService without verifying that the issue is scoped to the same workspace, breaking tenant isolation.

Why this happens

The underlying bug is a missing object-to-context authorization check, mapped to CWE-639: Insecure Direct Object Reference.

The API assumes that if a user belongs to a workspace, they are authorized to act on any issue_id presented, and does not validate that the issue_id is actually associated with the provided workspace_id.

This design trusts client-supplied identifiers instead of deriving or validating them server-side, allowing users to reference objects belonging to other workspaces and perform read/write operations beyond their intended scope.

Potential impact

  • A user may read all comments associated with issues in other workspaces.
  • A user may post new comments on issues in other workspaces, influencing or disrupting external teams.
  • Cross-tenant information leakage could occur, exposing internal discussions, plans, or sensitive project notes.
  • Audit trails and collaboration histories can be polluted with unauthorized input from outside the workspace.

General mitigation guidance

Effective mitigation focuses on enforcing strict, server-side authorization checks that bind every resource to its owning context.

Common patterns include:

  • Validating that each issue_id belongs to the workspace_id given in the request before performing any read or write operations.
  • Deriving resource identifiers from server-side lookups rather than trusting client-supplied IDs for access control decisions.
  • Centralizing authorization logic so that service-layer methods (e.g., comment creation and listing) require and verify workspace ownership of the underlying issue.
  • Designing APIs so that cross-tenant isolation is explicit and cannot be bypassed through crafted URLs or IDs.

How teams detect issues like this

Teams can detect similar IDOR issues by:

  • Performing targeted code review for endpoints that accept object IDs and checking that each ID is validated against the current user's context (e.g., workspace, tenant, project).
  • Using static analysis or security linters configured to flag direct use of client-supplied identifiers in data-access methods without accompanying authorization checks.
  • Adding automated tests that attempt cross-workspace or cross-tenant access and confirm that the system rejects mismatched context/identifier combinations.
  • Establishing security policies that require contextual ownership checks for every multi-tenant resource and enforcing these during pull-request review.

Sources

SourceLink
github.comgithub.com/MervinPraison/PraisonAI/commit/ef79b7a0561796ad9807f0f09538c25cc78d3619
github.comgithub.com/MervinPraison/PraisonAI/security/advisories/GHSA-cp4f-5m9r-5jc2

Frequently asked

questions

Any authenticated user who is a member of at least one workspace can potentially exploit the issue to read and post comments on issues in other workspaces, assuming they can discover or guess valid issue identifiers.

The attacker needs standard authenticated access and membership in any workspace. No elevated roles are required; simply being a regular workspace member is enough to reach other workspaces' comments.

The safest approach is to enforce strict object-to-workspace binding checks: every time an issue_id is used, the system must confirm that it belongs to the workspace_id in the request and that the current user is authorized for that workspace before allowing comment operations.

Prevent IDOR by systematically avoiding trust in client-supplied identifiers, centralizing authorization logic, requiring contextual ownership validation for all resource access, and integrating security-focused code reviews and automated tests into the development lifecycle.

Find out what's already
exploitable in your codebase.