CVE-2026-47394 PraisonAI vulnerable to unauthenticated arbitrary file read via MCP workflow.show, workflow.validate, deploy.validate

High 8.7 Published Updated

Unauthenticated attackers can read arbitrary files on the host via path traversal in PraisonAI MCP workflow handlers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-47394?

CVE-2026-47394 is a high-severity path traversal vulnerability in MervinPraison PraisonAI, published on 21 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PraisonAI is a multi-agent teams system. Prior to version 4.6.40, the fix for GHSA-9mqq-jqxf-grvw / CVE-2026-44336 is incomplete. The original advisory description named four vulnerable handlers in `mcp_server/adapters/cli_tools.py`. Commit `68cc9427` ("fix(security): harden MCP rules path handling…") added a `_resolve_rule_path()` helper and applied it to `rules.create`, `rules.show`, and `rules.delete`. `workflow.show` was left unchanged. Two adjacent handlers in the same file have the same pattern, `workflow.validate` and `deploy.validate`. Neither was mentioned in the original advisory. Both remained unchanged. The original advisory also identified the dispatcher (`server.py:281-298`) as a root cause. It accepts unvalidated `**kwargs` from `params["arguments"]` with no enforcement against the tool's declared `input_schema`. That code is unchanged prior to version 4.6.40. A single unauthenticated MCP `tools/call` to `praisonai.workflow.show` returns the contents of any file the host user can read: `/etc/passwd`, `~/.ssh/id_rsa`, `~/.aws/credentials`, or any project `.env`. Version 4.6.40 contains an updated fix.

Weakness: CWE-862, CWE-22, CWE-200

Which versions are affected by CVE-2026-47394?

3 open source packages ship an affected version, including praisonai and PraisonAI.

PackageAffectedFixed in
praisonai PyPIAll versions4.6.40
praisonai PyPIAll versions4.6.40
PraisonAI PyPIAll versions4.6.40

How do I fix CVE-2026-47394?

Upgrade praisonai to 4.6.40 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-47394 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47394 exists.

Sources

Also known as GHSA-9cr9-25q5-8prj, PYSEC-2026-2908.

Is CVE-2026-47394 in your software?

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

Check your SBOMs for free