Skip to content
Heist/ feed
Back to feed
Critical

PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()

Type: advisorySources: OSV

PraisonAI is a multi-agent teams system. From version 4.5.15 to before version 4.5.69, the --mcp CLI argument is passed directly to shlex.split() and forwarded through the call chain to anyio.open_process() with no validation, allowlist check, or sanitization at any hop, allowing arbitrary OS command execution as the process user. This issue has been patched in version 4.5.69.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-34935
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 15:28 UTC · Revision 1

Source evidence

PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()

core-osv · Original source

Published 3 Apr 2026, 22:48 UTC

PraisonAI is a multi-agent teams system. From version 4.5.15 to before version 4.5.69, the --mcp CLI argument is passed directly to shlex.split() and forwarded through the call chain to anyio.open_process() with no validation, allowlist check, or sanitization at any hop, allowing arbitrary OS command execution as the process user. This issue has been patched in version 4.5.69.

osv:CVE-2026-34935
Complete source record
{
  "id": "599bfb663081789ccd1f90bffc0b426387fedaff24f24b3c1578016155a86432",
  "url": "https://osv.dev/vulnerability/CVE-2026-34935",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()",
    "summary": "PraisonAI is a multi-agent teams system. From version 4.5.15 to before version 4.5.69, the --mcp CLI argument is passed directly to shlex.split() and forwarded through the call chain to anyio.open_process() with no validation, allowlist check, or sanitization at any hop, allowing arbitrary OS command execution as the process user. This issue has been patched in version 4.5.69.",
    "evidence": "osv:CVE-2026-34935",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-34935",
      "aliases": [
        "CVE-2026-34935",
        "GHSA-9gm9-c8mq-vq7m",
        "PYSEC-2026-471"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mervinpraison/praisonai",
              "type": "GIT",
              "events": [
                {
                  "introduced": "bbd320c50e0bc5402de03bca2ed8c274e5de42e0"
                },
                {
                  "fixed": "e144d840bbf59d13fdf149bb572933561f0dbc7c"
                },
                {
                  "fixed": "47bff65413beaa3c21bf633c1fae4e684348368c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.15"
                      },
                      {
                        "fixed": "4.5.69"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "47bff65413beaa3c21bf633c1fae4e684348368c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.5.68",
            "v4.5.67",
            "v4.5.65",
            "v4.5.64",
            "v4.5.63",
            "v4.5.62",
            "v4.5.60",
            "v4.5.59",
            "v4.5.58",
            "v4.5.57",
            "v4.5.56",
            "v4.5.55",
            "v4.5.54",
            "v4.5.52",
            "v4.5.51",
            "v4.5.49",
            "v4.5.48",
            "v4.5.46",
            "v4.5.45",
            "v4.5.44",
            "v4.5.43",
            "v4.5.42",
            "v4.5.41",
            "v4.5.40",
            "v4.5.39",
            "v4.5.38",
            "v4.5.37",
            "v4.5.36",
            "v4.5.35",
            "v4.5.34",
            "v4.5.33",
            "v4.5.32",
            "v4.5.31",
            "v4.5.30",
            "v4.5.29",
            "v4.5.28",
            "v4.5.27",
            "v4.5.26",
            "v4.5.25",
            "v4.5.24",
            "v4.5.23",
            "v4.5.22",
            "v4.5.21",
            "v4.5.20",
            "v4.5.19",
            "v4.5.18",
            "v4.5.17",
            "v4.5.16",
            "v4.5.15"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34935.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:20.649634463Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34935.json",
        "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9gm9-c8mq-vq7m",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-34935",
        "https://github.com/MervinPraison/PraisonAI/commit/47bff65413beaa3c21bf633c1fae4e684348368c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34935.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-34935",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 486520,
  "published_at": "2026-04-03T22:48:21.261+00:00"
}