CVE-2026-57124

PraisonAI UI MCP connect endpoint allows unauthenticated local command execution

Published Sep 14, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.0% KEV · Not listed
Description
PraisonAI is a multi-agent teams system. Prior to 4.6.59, the default UI host applications expose POST /api/mcp/connect without mandatory authentication and accept caller-controlled command and args values that PraisonAIUI passes to StdioMCPClient to start a local process. Because the UI commands bind to 0.0.0.0 by default, a reachable unauthenticated client can execute commands as the UI service account even when the MCP handshake later fails. This vulnerability is fixed in 4.6.59.

Analysis

AI-generated

Technical impact

PraisonAI is a multi‑agent system that, before version 4.6/connect endpoint in its UI host applications without requiring authentication. The request body can contain caller‑controlled commanddioMCPClient, which launches a local process. Because the UI service binds to 0.0.0.0 by default, any reachable client can invoke the endpoint and spawn arbitrary commands under the UI service account regardless of whether the subsequent MCP handshake succeeds. This flaw allows attackers to execute code locally with the privileges of the UI service account, potentially compromising the host system and all data accessible to that user.

Affected Systems

The vulnerability affects the MervinPraison PraisonAI product running any version prior to 4.6.59. The UI host applications of those versions expose the vulnerable endpoint on the default 0.0.0.0 interface.

Risk and Exploitability

The CVSS score of 9.8 places this flaw in the Critical severity range, reflecting a high likelihood of exploitation and severe impact. The EPSS score is < 1%, so the exact probability of exploitation cannot be quantified at this time. The vulnerability is not listed in the CISA KEV catalog. It can be exploited by any external or internal client that can reach the UI host, as the endpoint requires no authentication. Successful exploitation would allow arbitrary code execution under the UI service account.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to version 4.6.59 or later to remove the unauthenticated endpoint.
  • Limit network exposure by configuring the UI service to listen only on trusted interfaces or by blocking access to the port from untrusted networks.
  • If an upgrade is not immediately possible, disable the POST /api/mcp/connect endpoint or require authentication before allowing commands to be executed.

Generated by OpenCVE AI on September 21, 2026 at 00:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p75f-6fp4-p57w PraisonAI: Missing Authentication for Critical Function and Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in praisonai
History
Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai
Type Values Removed Values Added
Description PraisonAI is a multi-agent teams system. Prior to 4.6.59, the default UI host applications expose POST /api/mcp/connect without mandatory authentication and accept caller-controlled command and args values that PraisonAIUI passes to StdioMCPClient to start a local process. Because the UI commands bind to 0.0.0.0 by default, a reachable unauthenticated client can execute commands as the UI service account even when the MCP handshake later fails. This vulnerability is fixed in 4.6.59.
Title PraisonAI UI MCP connect endpoint allows unauthenticated local command execution
Weaknesses CWE-306
CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 14, 2026, 7:02 PM
Reserved
Jun 24, 2026, 12:33 AM
Status
Deferred
Published
Sep 14, 2026, 4:17 PM
Modified
Sep 15, 2026, 2:45 PM