CVE-2026-47394
PraisonAI vulnerable to unauthenticated arbitrary file read via MCP workflow.show, workflow.validate, deploy.validate
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.7
PraisonAI vulnerable to unauthenticated arbitrary file read via MCP workflow.show, workflow.validate, deploy.validate
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.
- Record
CVE-2026-47394- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-22, CWE-200, CWE-862
- Updated
- 2026-11-02
EUVDEUVD-2026-46302
8.7
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.
- Record
EUVD-2026-46302- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9cr9-25q5-8prj
8.7
PraisonAI vulnerable to unauthenticated arbitrary file read via MCP workflow.show, workflow.validate, deploy.validate
Summary
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:
"registers four file-handling tools by default,
praisonai.rules.create,praisonai.rules.show,praisonai.rules.delete, andpraisonai.workflow.show. Each accepts a path or filename string from MCPtools/callarguments… with no containment check."
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 remain 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 in HEAD as of commit 42221210.
Result: 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.
Affected functionality
src/praisonai/praisonai/mcp_server/adapters/cli_tools.py:
| Lines | Tool | Bug |
|-------|------|-----|
| 63-73 | praisonai.workflow.show | Returns the full contents of any file the host user can read |
| 42-61 | praisonai.workflow.validate | Reads any path; YAML parser error messages leak file existence + content fragments |
| 415-432 | praisonai.deploy.validate | Same pattern as workflow.validate. The config_path="deploy.yaml" default does not constrain the input. |
src/praisonai/praisonai/mcp_server/server.py:281-298, _handle_tools_call:
async def _handle_tools_call(self, params: Dict[str, Any]) -> Dict[str, Any]:
tool_name = params.get("name")
arguments = params.get("arguments", {})
...
tool = self._tool_registry.get(tool_name)
...
if asyncio.iscoroutinefunction(tool.handler):
result = await tool.handler(**arguments) # ← no schema enforcement
else:
result = tool.handler(**arguments)
Any JSON arguments the MCP client sends become a **kwargs call to the handler. The original advisory pointed at this code path as the root cause. The May 3 patch did not change it.
Default deployment is exposed
src/praisonai/praisonai/mcp_server/transports/http_stream.py:38-91:
hostdefaults to127.0.0.1, which is still reachable from any local process or container neighbour on loopback.api_keydefaults toNone. The auth check athttp_stream.py:192-198is gated onif self.api_key:, so it is skipped when no key is configured. There is no env var or config switch that turns auth on by default.- The same handlers are also reachable on the stdio transport, which is the exploitation model the original advisory was written around (Claude Desktop, Cursor, Continue.dev, Claude Code).
Other file-read sinks reachable via the same dispatcher
These were not named in the original advisory. They confirm the bug is dispatcher-wide and not limited to cli_tools.py:
mcp_server/adapters/capabilities.py:19-28,praisonai.audio.transcribe(file_path). Opens any host file and ships it to OpenAI Whisper.mcp_server/adapters/extended_capabilities.py:47-62,praisonai.files.create(file_path). Uploads any host file to OpenAI Files. A follow-up call topraisonai.files.content(file_id)(extended_capabilities.py:103-113) returns the bytes.mcp_server/adapters/extended_capabilities.py:243-258,praisonai.ocr_extract(image_path). Opens any image, returns OCR text.
The three handlers in cli_tools.py are the most direct primitives, since they echo the file content back without an OpenAI round-trip.
##…
- Record
GHSA-9cr9-25q5-8prj- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-22, CWE-200, CWE-862
- Updated
- 2026-11-02
NVD
8.7
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.
- Record
CVE-2026-47394- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-22, CWE-200, CWE-862
- Updated
- 2026-11-02
OSV
8.7
PraisonAI vulnerable to unauthenticated arbitrary file read via MCP workflow.show, workflow.validate, deploy.validate
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.
- Record
CVE-2026-47394- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-200, CWE-22, CWE-862
- Updated
- 2026-11-02
OSVGHSA-9cr9-25q5-8prj
8.7
PraisonAI vulnerable to unauthenticated arbitrary file read via MCP workflow.show, workflow.validate, deploy.validate
Summary
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:
"registers four file-handling tools by default,
praisonai.rules.create,praisonai.rules.show,praisonai.rules.delete, andpraisonai.workflow.show. Each accepts a path or filename string from MCPtools/callarguments… with no containment check."
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 remain 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 in HEAD as of commit 42221210.
Result: 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.
Affected functionality
src/praisonai/praisonai/mcp_server/adapters/cli_tools.py:
| Lines | Tool | Bug |
|-------|------|-----|
| 63-73 | praisonai.workflow.show | Returns the full contents of any file the host user can read |
| 42-61 | praisonai.workflow.validate | Reads any path; YAML parser error messages leak file existence + content fragments |
| 415-432 | praisonai.deploy.validate | Same pattern as workflow.validate. The config_path="deploy.yaml" default does not constrain the input. |
src/praisonai/praisonai/mcp_server/server.py:281-298, _handle_tools_call:
async def _handle_tools_call(self, params: Dict[str, Any]) -> Dict[str, Any]:
tool_name = params.get("name")
arguments = params.get("arguments", {})
...
tool = self._tool_registry.get(tool_name)
...
if asyncio.iscoroutinefunction(tool.handler):
result = await tool.handler(**arguments) # ← no schema enforcement
else:
result = tool.handler(**arguments)
Any JSON arguments the MCP client sends become a **kwargs call to the handler. The original advisory pointed at this code path as the root cause. The May 3 patch did not change it.
Default deployment is exposed
src/praisonai/praisonai/mcp_server/transports/http_stream.py:38-91:
hostdefaults to127.0.0.1, which is still reachable from any local process or container neighbour on loopback.api_keydefaults toNone. The auth check athttp_stream.py:192-198is gated onif self.api_key:, so it is skipped when no key is configured. There is no env var or config switch that turns auth on by default.- The same handlers are also reachable on the stdio transport, which is the exploitation model the original advisory was written around (Claude Desktop, Cursor, Continue.dev, Claude Code).
Other file-read sinks reachable via the same dispatcher
These were not named in the original advisory. They confirm the bug is dispatcher-wide and not limited to cli_tools.py:
mcp_server/adapters/capabilities.py:19-28,praisonai.audio.transcribe(file_path). Opens any host file and ships it to OpenAI Whisper.mcp_server/adapters/extended_capabilities.py:47-62,praisonai.files.create(file_path). Uploads any host file to OpenAI Files. A follow-up call topraisonai.files.content(file_id)(extended_capabilities.py:103-113) returns the bytes.mcp_server/adapters/extended_capabilities.py:243-258,praisonai.ocr_extract(image_path). Opens any image, returns OCR text.
The three handlers in cli_tools.py are the most direct primitives, since they echo the file content back without an OpenAI round-trip.
##…
- Record
GHSA-9cr9-25q5-8prj- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-200, CWE-22, CWE-862
- Updated
- 2026-11-02
OSVPYSEC-2026-2908
8.7
PraisonAI vulnerable to unauthenticated arbitrary file read via MCP workflow.show, workflow.validate, deploy.validate
Summary
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:
"registers four file-handling tools by default,
praisonai.rules.create,praisonai.rules.show,praisonai.rules.delete, andpraisonai.workflow.show. Each accepts a path or filename string from MCPtools/callarguments… with no containment check."
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 remain 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 in HEAD as of commit 42221210.
Result: 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.
Affected functionality
src/praisonai/praisonai/mcp_server/adapters/cli_tools.py:
| Lines | Tool | Bug |
|-------|------|-----|
| 63-73 | praisonai.workflow.show | Returns the full contents of any file the host user can read |
| 42-61 | praisonai.workflow.validate | Reads any path; YAML parser error messages leak file existence + content fragments |
| 415-432 | praisonai.deploy.validate | Same pattern as workflow.validate. The config_path="deploy.yaml" default does not constrain the input. |
src/praisonai/praisonai/mcp_server/server.py:281-298, _handle_tools_call:
async def _handle_tools_call(self, params: Dict[str, Any]) -> Dict[str, Any]:
tool_name = params.get("name")
arguments = params.get("arguments", {})
...
tool = self._tool_registry.get(tool_name)
...
if asyncio.iscoroutinefunction(tool.handler):
result = await tool.handler(**arguments) # ← no schema enforcement
else:
result = tool.handler(**arguments)
Any JSON arguments the MCP client sends become a **kwargs call to the handler. The original advisory pointed at this code path as the root cause. The May 3 patch did not change it.
Default deployment is exposed
src/praisonai/praisonai/mcp_server/transports/http_stream.py:38-91:
hostdefaults to127.0.0.1, which is still reachable from any local process or container neighbour on loopback.api_keydefaults toNone. The auth check athttp_stream.py:192-198is gated onif self.api_key:, so it is skipped when no key is configured. There is no env var or config switch that turns auth on by default.- The same handlers are also reachable on the stdio transport, which is the exploitation model the original advisory was written around (Claude Desktop, Cursor, Continue.dev, Claude Code).
Other file-read sinks reachable via the same dispatcher
These were not named in the original advisory. They confirm the bug is dispatcher-wide and not limited to cli_tools.py:
mcp_server/adapters/capabilities.py:19-28,praisonai.audio.transcribe(file_path). Opens any host file and ships it to OpenAI Whisper.mcp_server/adapters/extended_capabilities.py:47-62,praisonai.files.create(file_path). Uploads any host file to OpenAI Files. A follow-up call topraisonai.files.content(file_id)(extended_capabilities.py:103-113) returns the bytes.mcp_server/adapters/extended_capabilities.py:243-258,praisonai.ocr_extract(image_path). Opens any image, returns OCR text.
The three handlers in cli_tools.py are the most direct primitives, since they echo the file content back without an OpenAI round-trip.
##…
- Record
PYSEC-2026-2908- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
praisonaiPyPI |
through 4.6.39 | 4.6.40 |
praisonaiPyPI |
before 4.6.40, plus listed versions 0.0.10.0.100.0.110.0.120.0.13 Show 45 moreShow less0.0.140.0.150.0.160.0.170.0.180.0.190.0.20.0.200.0.210.0.220.0.230.0.240.0.250.0.260.0.270.0.280.0.290.0.30.0.300.0.310.0.320.0.330.0.340.0.350.0.360.0.370.0.380.0.390.0.40.0.400.0.410.0.420.0.430.0.440.0.450.0.460.0.470.0.480.0.490.0.50.0.500.0.520.0.530.0.540.0.55 |
4.6.40 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-47394 is a high vulnerability (CVSS 8.7) in Mervinpraison Praisonai, published May 29, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.50%, the 43rd percentile. Fixed in praisonai 4.6.40.
References
github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9cr9-25q5-8prj
github.com/MervinPraison/PraisonAI/pull/1684
github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6
github.com/advisories/GHSA-9cr9-25q5-8prj
github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47394.json
nvd.nist.gov/vuln/detail/CVE-2026-47394
github.com/MervinPraison/PraisonAI
pypi.org/project/praisonai
Left out here: 681 versions and the rest of 3 source descriptions. The JSON record has them.