# CVE-2026-57124: PraisonAI unauthenticated remote code execution in MCP endpoint

Source: https://junglewise.ai/threats/cve-2026-57124-praisonai-unauthenticated-remote-code-execution-in-mcp-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-14. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-57124 · Severity: critical · CVSS 9.8 · Published 2026-09-14

PraisonAI is a multi-agent AI system that coordinates intelligent agents to perform complex tasks. The default configuration exposes an API endpoint that accepts arbitrary commands without authentication and executes them as the service account, allowing any network-accessible attacker to run arbitrary code on the server where PraisonAI is deployed.

Technologies: [praisonai (PyPI)](https://junglewise.ai/threats/technologies/pypi-praisonai). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-57124 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-57124 being exploited in the wild.

**How severe is CVE-2026-57124?** Critical severity, with a CVSS score of 9.8, published 14 September 2026.

**Which products and versions are affected?** praisonai (PyPI) ECOSYSTEM:introduced=0,fixed=4.6.59.

**Is there a fix for CVE-2026-57124?** Yes. praisonai (PyPI): upgrade to 4.6.59 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-57124 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-57124?** Check whether you run praisonai (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- praisonai (PyPI): upgrade to 4.6.59 or later

  ```sh
  pip install "praisonai>=4.6.59"
  ```


## Technical details

PraisonAI's UI host exposes a POST /api/mcp/connect endpoint without mandatory authentication. The endpoint accepts caller-controlled command and args parameters that are directly passed to StdioMCPClient to spawn local processes. Because the UI service binds to 0.0.0.0 by default, an unauthenticated remote attacker can reach this endpoint over the network and execute arbitrary commands as the service account, even if the subsequent MCP handshake fails. The vulnerability is due to missing input validation and access controls on the endpoint. A fix was released in version 4.6.59 that hardens input validation and enforces access controls.

## Affected products

- Mervin Praison PraisonAI prior to 4.6.59

## Identifiers

- CVE-2026-57124
- GHSA-p75f-6fp4-p57w
- PYSEC-2026-3517

## Timeline

- 2026-09-14: disclosed: CVE-2026-57124 published on NVD
- 2026-06-13: patched: Fix committed (version 4.6.59 released 2026-06-17)

## References

- [https://github.com/MervinPraison/PraisonAI/commit/2adfe7e8323f6deec66925cf15a885b6238895e9](https://github.com/MervinPraison/PraisonAI/commit/2adfe7e8323f6deec66925cf15a885b6238895e9)
- [https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59](https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59)

## Related threats

- [PraisonAI authentication bypass in A2U event streaming](https://junglewise.ai/threats/cve-2026-57146-praisonai-a2u-incomplete-authentication-fix-leaves-current-serve)
- [PraisonAI sandbox escape when Landlock unavailable](https://junglewise.ai/threats/cve-2026-57144-praisonai-sandlocksandbox-falls-back-to-unrestricted-subprocess)
- [PraisonAI recipe policy bypass via YAML-approved tools](https://junglewise.ai/threats/cve-2026-57142-praisonai-recipe-workflow-policy-can-be-bypassed-by-declaring-and)
- [PraisonAI shell command injection in compute-bridged file tools](https://junglewise.ai/threats/cve-2026-57117-praisonai-compute-bridged-file-tools-allow-shell-command)
- [PraisonAI AgentOS authentication bypass in FastAPI deployment](https://junglewise.ai/threats/cve-2026-57116-praisonai-agentos-remains-unauthenticated-after-incomplete-fix)
