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

CVE-2026-41497: PraisonAI has an incomplete fix for CVE-2026-34935 - OS Command Injection

April 17, 2026 (updated April 27, 2026)

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 →

Affected versions

All versions before 4.5.149

Fixed versions

  • 4.5.149

Solution

Upgrade to version 4.5.149 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-41497.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:19:05 +0000.