CVE-2026-41497: PraisonAI has an incomplete fix for CVE-2026-34935 - OS Command Injection
Affects praisonaiSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 9.8 Critical : upgrade to 4.5.149 as a priority.
Data as of 16 Nov 2026, 16:37 UTC
- Patch
- Available – fixed in 4.5.149
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade praisonai to 4.5.149.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpraisonai | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in PraisonAI version 4.5.149 and later. Users should upgrade to version 4.5.149 or newer to remediate this vulnerability. The patch addresses the issue by improving command handling validation. Until upgraded, avoid processing untrusted MCP server commands. No vendor advisory states that no action is required or that the issue is already mitigated without patching.
Description
PraisonAI's MCP command handling function parse_mcp_command() suffers from an OS command injection vulnerability (CVE-2026-41497). The function lacks proper validation of executables and arguments, allowing arbitrary commands such as bash, python, or /bin/sh with inline code execution to be executed via subprocess calls. Although a patch (commit 47bff654) was released, it does not implement critical controls like an allowlist of permitted commands, basename checks, or argument inspection, leaving the vulnerability partially unmitigated. Versions prior to 4.5.149 are affected, with 4.5.149 containing the fix. The vulnerability has a CVSS score of 9.8, indicating critical severity.
References
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9qhq-v63v-fv3j (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-34935 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-41497 (opens in a new tab)
- github.com/MervinPraison/PraisonAI/commit/47bff65413beaa3c21bf633c1fae4e684348368c (opens in a new tab)
- github.com/MervinPraison/PraisonAI (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/praisonai/PYSEC-2026-473.yaml (opens in a new tab)
- pypi.org/project/praisonai (opens in a new tab)