/

CVE-2026-47406

Severity:

HIGH RISK

(8.1)

IDOR (CWE-639) in PraisonAI Issue Dependencies API

CVE-2026-47406

Deferred

Vulnerability type

Category:

Insecure Direct Object Reference

CWE:

CWE-639

Impact:

Authorization Bypass / Cross-Tenant Data Tampering

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 versions prior to 0.1.4 contain an Insecure Direct Object Reference in the issue dependency endpoints, allowing users to reference issues and dependencies outside their authorized workspace.

By supplying arbitrary issue or dependency IDs in the URL or request body, an attacker can create or manipulate cross-workspace relationships between issues, potentially corrupting project workflows and exposing sensitive linkage metadata.

Affected context

This vulnerability appears in the PraisonAI Platform backend handling issue dependencies within workspaces.

It affects deployments where:

  • Multi-tenant or multi-workspace isolation relies on per-workspace membership checks, and
  • Dependency endpoints accept issue and dependency IDs from URLs or request bodies without verifying they belong to the same, checked workspace.

The affected routes include:

  • POST /workspaces/{workspace_id}/issues/{issue_id}/dependencies
  • GET /workspaces/{workspace_id}/issues/{issue_id}/dependencies
  • DELETE /workspaces/{workspace_id}/issues/{issue_id}/dependencies/{dep_id}

Exploit preconditions

  • Attack surface: PraisonAI Platform HTTP API, specifically issue dependency endpoints.
  • Required access: Valid authenticated user account with membership in at least one workspace.
  • Trigger point: Supplying arbitrary issue_id, dep_id, or depends_on_issue_id values in the URL or request body.
  • Why exploitation is possible: The authorization layer only verifies membership of the outer workspace_id parameter, while the service layer accepts and processes issue and dependency IDs without confirming they belong to that workspace or are otherwise authorized for the caller.

Why this happens

The core problem is a missing object-level authorization check on IDs provided by the client.

After confirming that the caller is a member of a given workspace, the implementation forwards issue and dependency identifiers directly into DependencyService methods without verifying that:

  • The target issue belongs to the same workspace, or
  • The dependency record is scoped to the workspace where membership was checked.

This pattern matches CWE-639: Insecure Direct Object Reference (IDOR), where security decisions are made on contextual parameters (like workspace membership), but object identifiers are trusted at face value and not revalidated against that context.

Potential impact

  • Attackers could create "blocks" or "related" links between issues in different workspaces, including those they do not belong to.
  • Cross-tenant or cross-project data relationships could be forged, leading to workflow corruption and misleading dependency graphs.
  • Sensitive issue metadata (such as existence and identifiers) may be inferred across workspaces by observing which IDs are accepted or rejected.
  • Administrative and reporting features relying on dependency graphs could be skewed, impacting prioritization and planning decisions.

General mitigation guidance

Effective mitigation focuses on enforcing object-level authorization for all client-supplied identifiers.

Common defensive patterns include:

  • Validating that every referenced issue and dependency record belongs to the workspace (or tenancy) where access control was performed.
  • Centralizing authorization logic so that service-layer functions accept only already-authorized domain objects rather than raw IDs.
  • Designing route handlers to derive related object identifiers from the verified context (such as workspace and issue associations) instead of trusting arbitrary IDs from the request body.
  • Applying defense-in-depth by checking both tenant/workspace ownership and user-level permissions before allowing dependency creation, listing, or deletion.

These patterns reduce reliance on URL structure alone and ensure that all object references are consistently scoped.

How teams detect issues like this

Detection typically combines code-level and behavior-level analysis:

  • Static analysis: Search for controller or route handlers where authorization is checked only on high-level parameters (e.g., workspace ID) while other identifiers (issue IDs, dependency IDs) are passed directly to service methods without ownership checks.
  • Code review: Flag places where methods accept raw IDs from requests and perform business operations without:
  • Loading the object in the context of the current workspace, or
  • Verifying that the loaded object belongs to the authorized scope.
  • Logging and monitoring: Instrument dependency creation and deletion operations with workspace and issue identifiers, then alert on unusual cross-workspace patterns or unexpected combinations of IDs.
  • Automated tools: Use application security testing (SAST/DAST) tools configured to probe multi-tenant endpoints for inconsistent authorization behavior when object IDs are manipulated.

Sources

SourceLink
github.comgithub.com/MervinPraison/PraisonAI/commit/ef79b7a0561796ad9807f0f09538c25cc78d3619
github.comgithub.com/MervinPraison/PraisonAI/pull/1685
github.comgithub.com/MervinPraison/PraisonAI/security/advisories/GHSA-4x6r-9v57-3gqw

Frequently asked

questions

Exploitation is limited to authenticated users who are members of at least one workspace, but within that scope they can attempt to reference arbitrary issue and dependency IDs across the platform, potentially affecting projects they should not access.

The attacker needs valid credentials and membership in any workspace. No elevated role is required; a regular member can exploit the dependency endpoints by crafting requests with carefully chosen issue and dependency identifiers.

The preferred fix is to enforce object-level authorization for every client-supplied identifier. Each referenced issue and dependency should be loaded in the context of the membership-checked workspace, and operations should proceed only if those objects belong to that workspace and the caller is authorized for them.

Prevention relies on consistent patterns: never trust raw IDs from requests, centralize authorization logic, and require that all object fetches be performed through APIs that enforce workspace or tenant scoping. Adding automated tests and security checks for cross-tenant access, along with code review guidelines focused on ID handling, helps catch similar issues early in development.

Find out what's already
exploitable in your codebase.