Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. praisonai
  4. ›
  5. CVE-2026-34935

CVE-2026-34935: PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()

April 1, 2026 (updated April 6, 2026)

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.

References

  • github.com/MervinPraison/PraisonAI
  • github.com/MervinPraison/PraisonAI/commit/47bff65413beaa3c21bf633c1fae4e684348368c
  • github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9gm9-c8mq-vq7m
  • github.com/advisories/GHSA-9gm9-c8mq-vq7m
  • nvd.nist.gov/vuln/detail/CVE-2026-34935

Code Behaviors & Features

Detect and mitigate CVE-2026-34935 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.5.15 before 4.5.69

Fixed versions

  • 4.5.69

Solution

Upgrade to version 4.5.69 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

pypi/praisonai/CVE-2026-34935.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 07 Apr 2026 12:18:51 +0000.