CVE-2026-41497: PraisonAI has an incomplete fix for CVE-2026-34935 - OS Command Injection
(updated )
The fix for PraisonAI’s MCP command handling does not add a command allowlist or argument validation to parse_mcp_command(), allowing arbitrary executables like bash, python, or /bin/sh with inline code execution flags to pass through to subprocess execution.
References
- github.com/MervinPraison/PraisonAI
- github.com/MervinPraison/PraisonAI/commit/47bff65413beaa3c21bf633c1fae4e684348368c
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9qhq-v63v-fv3j
- github.com/advisories/GHSA-9qhq-v63v-fv3j
- nvd.nist.gov/vuln/detail/CVE-2026-34935
- nvd.nist.gov/vuln/detail/CVE-2026-41497
Code Behaviors & Features
Detect and mitigate CVE-2026-41497 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 →