CVE-2026-40117 PraisonAIAgents Affected by Arbitrary File Read via read_skill_file Missing Workspace Boundary and Approval Gate

Medium 6.2 Published Updated

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.

PackageAffectedFixed in
praisonaiagents PyPIAll versions1.5.128
praisonaiagents PyPIAll versions1.5.128
praisonaiagents PyPIAll versions1.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.

Sources

Also known as GHSA-grrg-5cg9-58pf, PYSEC-2026-2949.

Is CVE-2026-40117 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free