CVE-2026-40117 PraisonAIAgents Affected by Arbitrary File Read via read_skill_file Missing Workspace Boundary and Approval Gate
Attackers can read arbitrary files from the filesystem via prompt injection in PraisonAIAgents due to missing workspace boundaries in read_skill_file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-40117?
CVE-2026-40117 is a medium-severity path traversal vulnerability in MervinPraison PraisonAIAgents, published on 9 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
PraisonAIAgents is a multi-agent teams system. Prior to 1.5.128, read_skill_file() in skill_tools.py allows reading arbitrary files from the filesystem by accepting an unrestricted skill_path parameter. Unlike file_tools.read_file which enforces workspace boundary confinement, and unlike run_skill_script which requires critical-level approval, read_skill_file has neither protection. An agent influenced by prompt injection can exfiltrate sensitive files without triggering any approval prompt. This vulnerability is fixed in 1.5.128.
Weakness: CWE-862
Which versions are affected by CVE-2026-40117?
3 open source packages ship an affected version, including praisonaiagents. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
praisonaiagents PyPI | All versions | 1.5.128 |
praisonaiagents PyPI | All versions | 1.5.128 |
praisonaiagents PyPI | All versions | 1.5.128 |
Products include Praison Praisonaiagents.
How do I fix CVE-2026-40117?
Upgrade praisonaiagents to 1.5.128 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-40117 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40117 exists.
Other vulnerabilities in MervinPraison PraisonAIAgents
- CVE-2026-34938 PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code
- CVE-2026-40111 PraisonAIAgents has an OS Command Injection via shell=True in Memory Hooks Executor (memory/hooks.py)
- CVE-2026-34954 PraisonAI: SSRF in FileTools.download_file() via Unvalidated URL
- CVE-2026-34937 PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution
- CVE-2026-44335 SSRF bypass in PraisonAI
Sources
Also known as GHSA-grrg-5cg9-58pf, PYSEC-2026-2949.