CVE-2026-47407: praisonai-platform: IDOR enables cross-tenant agent hijack

GHSA-h8q5-cp56-rr65 CRITICAL PoC AVAILABLE CISA: ATTEND
Published May 29, 2026
CISO Take

PraisonAI Platform (≤0.1.2) contains a critical Insecure Direct Object Reference flaw that allows any registered user to read, modify, or delete AI agents, projects, and issues across all tenants — including agent configurations that routinely store API keys and system prompts in the agent.instructions field. A second flaw lets any basic workspace member escalate themselves to admin, evict the original owner, and take full control of the workspace, making every multi-tenant deployment effectively ownerless. Exploitation requires only a free account: open registration at /api/v1/auth/register issues a valid bearer token instantly, the server defaults to 0.0.0.0:8000, and the attack reduces to changing a UUID in the URL path. Organizations running PraisonAI Platform with internet exposure should treat all stored agent credentials as compromised until patched. Upgrade to version 0.1.4 immediately and rotate any API keys stored in agent configuration fields.

Sources: GitHub Advisory NVD ATLAS

What is the risk?

Critical. Three CWEs converge — improper privilege management (CWE-269), user-controlled key authorization bypass (CWE-639), and incorrect authorization (CWE-863) — all exploitable with no prior knowledge of the target beyond a valid UUID. Open registration and default 0.0.0.0:8000 binding eliminate any prerequisite barrier: a single unauthenticated network position is sufficient to bootstrap full cross-tenant access. AI agent platforms are high-value targets precisely because agent.instructions and runtime_config fields store third-party API keys, system prompts, and connection strings, making this a credential harvesting vector as much as a data integrity issue. The privilege escalation path compounds the risk by enabling persistent workspace takeover after a single member invitation.

How does the attack unfold?

Initial Access
Attacker self-registers at /api/v1/auth/register with no email verification to obtain a valid bearer token from any network position.
AML.T0021
Cross-Tenant Enumeration
Attacker substitutes their own workspace_id in the URL prefix with any target resource UUID in the path, bypassing the auth dependency which only validates workspace membership, not resource ownership.
AML.T0049
Credential Harvesting
Attacker issues GET requests across all workspace resource types to extract API keys, system prompts, and connection strings stored in agent.instructions and agent.runtime_config.
AML.T0083
Agent Hijack & Privilege Escalation
Attacker overwrites victim agent instructions with a malicious system prompt for persistent exfiltration, and if a workspace member, escalates to admin role and evicts the original owner for full workspace takeover.
AML.T0081

What systems are affected?

Package Ecosystem Vulnerable Range Patched
PraisonAI pip No patch
1 dependents 68% patched ~14d to patch Full package profile →
PraisonAI pip <= 0.1.2 0.1.4
1 dependents 68% patched ~14d to patch Full package profile →

How severe is it?

CVSS 3.1
N/A
EPSS
0.2%
chance of exploitation in 30 days
Higher than 15% of all CVEs
Exploitation Status
Exploit Available
Exploitation: MEDIUM
Sophistication
Trivial
Exploitation Confidence
medium
CISA SSVC: Public PoC
Public PoC indexed (trickest/cve)
Composite signal derived from CISA KEV, VulnCheck KEV, CISA SSVC, EPSS, Metasploit, Exploit-DB, trickest/cve, Nuclei templates, and inthewild.io exploitation reports.

What should I do?

6 steps
  1. Upgrade praisonai-platform to ≥0.1.4 immediately — the patch adds workspace_id scoping to all nested-resource service layer lookups and enforces the role hierarchy on member-management routes.

  2. Until patched, firewall port 8000 and require VPN or mTLS for all API access.

  3. Disable open registration or enforce email verification if the platform is internet-facing.

  4. Audit all agent.instructions and agent.runtime_config fields for unexpected exfiltration URLs or injected instructions — compare against last known-good backups.

  5. Rotate all API keys stored in agent configurations — treat them as compromised if the platform was network-accessible on the vulnerable version.

  6. Review workspace member role lists for unauthorized privilege escalations and restore legitimate ownership where modified.

What does CISA's SSVC say?

Decision Attend
Exploitation poc
Automatable No
Technical Impact total

Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

EU AI Act
Art. 9 - Risk management system
ISO 42001
A.6.2 - AI system access control
NIST AI RMF
GOVERN 1.2 - Policies, processes, and procedures for AI risk management
OWASP LLM Top 10
LLM07:2025 - System Prompt Leakage

Frequently Asked Questions

What is CVE-2026-47407?

PraisonAI Platform (≤0.1.2) contains a critical Insecure Direct Object Reference flaw that allows any registered user to read, modify, or delete AI agents, projects, and issues across all tenants — including agent configurations that routinely store API keys and system prompts in the agent.instructions field. A second flaw lets any basic workspace member escalate themselves to admin, evict the original owner, and take full control of the workspace, making every multi-tenant deployment effectively ownerless. Exploitation requires only a free account: open registration at /api/v1/auth/register issues a valid bearer token instantly, the server defaults to 0.0.0.0:8000, and the attack reduces to changing a UUID in the URL path. Organizations running PraisonAI Platform with internet exposure should treat all stored agent credentials as compromised until patched. Upgrade to version 0.1.4 immediately and rotate any API keys stored in agent configuration fields.

Is CVE-2026-47407 actively exploited?

Proof-of-concept exploit code is publicly available for CVE-2026-47407, increasing the risk of exploitation.

How to fix CVE-2026-47407?

1. Upgrade praisonai-platform to ≥0.1.4 immediately — the patch adds workspace_id scoping to all nested-resource service layer lookups and enforces the role hierarchy on member-management routes. 2. Until patched, firewall port 8000 and require VPN or mTLS for all API access. 3. Disable open registration or enforce email verification if the platform is internet-facing. 4. Audit all agent.instructions and agent.runtime_config fields for unexpected exfiltration URLs or injected instructions — compare against last known-good backups. 5. Rotate all API keys stored in agent configurations — treat them as compromised if the platform was network-accessible on the vulnerable version. 6. Review workspace member role lists for unauthorized privilege escalations and restore legitimate ownership where modified.

What systems are affected by CVE-2026-47407?

This vulnerability affects the following AI/ML architecture patterns: multi-tenant AI agent platforms, agent frameworks, AI orchestration platforms.

What is the CVSS score for CVE-2026-47407?

No CVSS score has been assigned yet.

What is the AI security impact?

Affected AI Architectures

multi-tenant AI agent platformsagent frameworksAI orchestration platforms

MITRE ATLAS Techniques

AML.T0002.002 AI Agent Configuration
AML.T0021 Establish Accounts
AML.T0049 Exploit Public-Facing Application
AML.T0051.000 Direct
AML.T0081 Modify AI Agent Configuration
AML.T0083 Credentials from AI Agent Configuration

Compliance Controls Affected

EU AI Act: Art. 9
ISO 42001: A.6.2
NIST AI RMF: GOVERN 1.2
OWASP LLM Top 10: LLM07:2025

What are the technical details?

Original Advisory

PraisonAI Platform is the platform layer for the PraisonAI multi-agent teams system. Prior to version 0.1.4, the Platform server exposes resources under `/api/v1/workspaces/{workspace_id}/...` and protects them with a `require_workspace_member(workspace_id)` FastAPI dependency. The dependency only checks that the caller is a member of the workspace_id in the URL prefix. The route handlers then look up the inner resource (`agent_id`, `issue_id`, `project_id`, `label_id`, `comment_id`, `dependency_id`) by primary key alone. The resource's own `workspace_id` is never compared to the URL's `workspace_id`. A user can therefore put their own workspace in the URL prefix and any other workspace's resource ID in the path. The auth check passes, since they really are a member of the prefix workspace. The service then returns the cross-tenant resource for read, update, or delete. There is a second bug in the member-management routes (`add_member`, `update_member_role`, `remove_member`, `update_workspace`, `delete_workspace`). Each one inherits the default `min_role="member"` from `require_workspace_member`. Any basic member can therefore promote themselves to admin or owner, demote or remove other members, and delete the workspace. The role hierarchy exists in the schema but is not enforced. Registration is open at `/api/v1/auth/register` with no email verification. The default server bind is `0.0.0.0:8000` (`python -m praisonai_platform`). One curl from any unauthenticated network position is enough to bootstrap into the system. PraisonAI Platform version 0.1.4 patches the issue.

Exploitation Scenario

An attacker registers a free account at /api/v1/auth/register — no email verification, instant bearer token returned. They create a personal workspace, then begin enumerating victim resource UUIDs by iterating UUID patterns or exploiting any predictability in the platform's ID generation. Using their own workspace_id in the URL prefix and a victim's agent_id in the path (GET /api/v1/workspaces/{attacker_ws}/agents/{victim_agent_id}), the auth dependency sees only that the attacker is a member of their own workspace and returns HTTP 200 with the full victim agent object, including API keys embedded in agent.instructions. The attacker then issues a PATCH to overwrite agent.instructions with a malicious prompt that exfiltrates all future conversation turns to an attacker-controlled endpoint — a change that persists invisibly on the victim's workspace. If the attacker was ever legitimately invited as a basic member to a high-value workspace, they additionally PATCH their own role to admin, DELETE the original owner's membership, and assume permanent control of that workspace's full agent fleet.

Weaknesses (CWE)

CWE-269 — Improper Privilege Management: The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

  • [Architecture and Design, Operation] Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
  • [Architecture and Design] Follow the principle of least privilege when assigning access rights to entities in a software system.

Source: MITRE CWE corpus.

Timeline

Published
May 29, 2026
Last Modified
July 22, 2026
First Seen
May 30, 2026

Related Vulnerabilities