CVE-2026-47394
Received Received - Intake

Path Traversal in PraisonAI

Vulnerability report for CVE-2026-47394, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-21

Last updated on: 2026-07-21

Assigner: GitHub, Inc.

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-21
Last Modified
2026-07-21
Generated
2026-07-21
AI Q&A
2026-07-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
praisonai praisonai to 4.6.40 (exc)
praisonai praisonai 4.6.40

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
CWE-200 The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-47394 is an unauthenticated arbitrary file read vulnerability in PraisonAI versions 4.6.39 and earlier. It stems from incomplete fixes for a previous vulnerability (CVE-2026-44336), leaving MCP handlers vulnerable to path traversal attacks. The issue allows reading any file the host user can access, including sensitive files like /etc/passwd or .env files.

Detection Guidance

To detect this vulnerability, check if your PraisonAI instance is running version 4.6.40 or later. Inspect the `cli_tools.py` file for the handlers `workflow.show`, `workflow.validate`, and `deploy.validate`. Verify if the dispatcher in `server.py` enforces input schema validation for these handlers.

Impact Analysis

This vulnerability allows attackers to read sensitive files on the system hosting PraisonAI, such as configuration files, SSH keys, or credentials. It requires no authentication and can be exploited remotely if the HTTP stream transport is exposed. This could lead to data breaches, unauthorized access, or further system compromise.

Compliance Impact

This vulnerability likely violates compliance requirements under GDPR and HIPAA due to unauthorized access to sensitive data. GDPR mandates protection of personal data, while HIPAA requires safeguarding protected health information. A breach could result in legal penalties, fines, and reputational damage for organizations handling regulated data.

Mitigation Strategies

Immediately upgrade PraisonAI to version 4.6.40 or later. Ensure the MCP HTTP stream transport is not exposed on `127.0.0.1` without authentication. Review and enforce input schema validation in the dispatcher for all MCP handlers.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-47394. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart