PraisonAIAgents: Arbitrary File Read via read_skill_file Missing Workspace Boundary and Approval Gate
CVE-2026-40117 · GHSA-grrg-5cg9-58pf · published 2026-04-10
- Severity
- Medium
- CVSS score
- 6.2
- Chance of exploitation (EPSS)
- 0.35%
- Fixed in
- 1.5.128
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Confidentiality breach: An agent can read any file readable by the process owner, including /etc/shadow, SSH keys, .env files, /proc/self/environ, API tokens, and database credentials. Approval framework bypass: Operators who configure approval backends to gate dangerous operations are not protected — readskillfile silently bypasses the entire approval system. Prompt injection amplifier: In multi-agent or RAG workflows processing untrusted data, this provides a high-value primitive for data exfiltration without any user-visible authorization check.
Upgrade praisonaiagents to 1.5.128 or later.
Add both workspace boundary validation and an approval requirement to readskillfile and listskillscripts:
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| praisonaiagents | PyPI | < 1.5.128 | 1.5.128 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- CriticalPraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secretspraisonaiagents
- CriticalPraisonAI: Unauthenticated RCE via Jobs API + Approval Bypasspraisonaiagents, praisonai
- CriticalPraisonAI: MCP SSE transport binds 0.0.0.0 with no authentication and no Origin validation; bundled SecurityConfig is never wired inpraisonaiagents
- CriticalPraisonAI AgentTeam.launch exposes unauthenticated remote agent listing and invocation endpointspraisonaiagents
- CriticalPraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode)praisonaiagents, praisonai
- CriticalPraisonAI Browser Server allows unauthenticated WebSocket clients to hijack connected extension sessionspraisonaiagents, praisonai
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.