CVE-2026-47394: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
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.
AI Analysis
Technical Summary
PraisonAI, a multi-agent teams system, had an incomplete fix for a prior path traversal vulnerability (CVE-2026-44336) in versions before 4.6.40. The original fix hardened path handling for some handlers but left the workflow.show handler vulnerable. The dispatcher accepts unvalidated keyword arguments from parameters without enforcing the tool's input schema, allowing unauthenticated calls to praionai.workflow.show to read arbitrary files on the host system. The vulnerability enables reading sensitive files such as /etc/passwd, SSH private keys, AWS credentials, and project environment files. The issue is resolved in version 4.6.40 with an updated fix.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to perform path traversal attacks, reading arbitrary files on the host system that the application user can access. This can lead to disclosure of sensitive information including system user data, private keys, credentials, and environment variables, potentially compromising system security and confidentiality.
Mitigation Recommendations
The vendor manages remediation for this cloud-hosted service. Version 4.6.40 contains an updated fix that addresses the incomplete path traversal protections. Users should upgrade to version 4.6.40 or later to mitigate this vulnerability. Patch status is confirmed by the vendor advisory. No additional mitigation actions are specified.
CVE-2026-47394: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
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.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/mervinpraison/PraisonAIRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI, a multi-agent teams system, had an incomplete fix for a prior path traversal vulnerability (CVE-2026-44336) in versions before 4.6.40. The original fix hardened path handling for some handlers but left the workflow.show handler vulnerable. The dispatcher accepts unvalidated keyword arguments from parameters without enforcing the tool's input schema, allowing unauthenticated calls to praionai.workflow.show to read arbitrary files on the host system. The vulnerability enables reading sensitive files such as /etc/passwd, SSH private keys, AWS credentials, and project environment files. The issue is resolved in version 4.6.40 with an updated fix.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to perform path traversal attacks, reading arbitrary files on the host system that the application user can access. This can lead to disclosure of sensitive information including system user data, private keys, credentials, and environment variables, potentially compromising system security and confidentiality.
Mitigation Recommendations
The vendor manages remediation for this cloud-hosted service. Version 4.6.40 contains an updated fix that addresses the incomplete path traversal protections. Users should upgrade to version 4.6.40 or later to mitigate this vulnerability. Patch status is confirmed by the vendor advisory. No additional mitigation actions are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T19:22:45.729Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a5f96f22a4a8d59895fb2e1
Added to database: 07/21/2026, 15:57:38 UTC
Last enriched: 07/21/2026, 16:12:04 UTC
Last updated: 07/21/2026, 19:42:45 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.