CVE-2026-47407: praisonai-platform: IDOR enables cross-tenant agent hijack
GHSA-h8q5-cp56-rr65 CRITICAL PoC AVAILABLE CISA: ATTENDPraisonAI 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.
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?
What systems are affected?
How severe is it?
What should I do?
6 steps-
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.
-
Until patched, firewall port 8000 and require VPN or mTLS for all API access.
-
Disable open registration or enforce email verification if the platform is internet-facing.
-
Audit all agent.instructions and agent.runtime_config fields for unexpected exfiltration URLs or injected instructions — compare against last known-good backups.
-
Rotate all API keys stored in agent configurations — treat them as compromised if the platform was network-accessible on the vulnerable version.
-
Review workspace member role lists for unauthorized privilege escalations and restore legitimate ownership where modified.
What does CISA's SSVC say?
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:
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
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
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
Primary
CWE-269 Improper Privilege Management
Primary
CWE-639 Authorization Bypass Through User-Controlled Key
Primary
CWE-639 Authorization Bypass Through User-Controlled Key
Primary
CWE-863 Incorrect Authorization
Primary
CWE-863 Incorrect Authorization
Primary
CWE-269 Improper Privilege Management CWE-639 Authorization Bypass Through User-Controlled Key CWE-863 Incorrect Authorization 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.
References
Timeline
Related Vulnerabilities
CVE-2026-61447 10.0 PraisonAI: RCE via unsandboxed LLM code execution
Same package: praisonai CVE-2026-61445 9.9 PraisonAI: AICoder root RCE via unsanitized tool calls
Same package: praisonai CVE-2026-47392 9.9 praisonaiagents: RCE via Python sandbox bypass
Same package: praisonai GHSA-vmmj-pfw7-fjwp 9.9 praisonai: sandbox escape gives RCE via codeMode tool
Same package: praisonai GHSA-vc46-vw85-3wvm 9.8 PraisonAI: RCE via malicious workflow YAML execution
Same package: praisonai