SecurityContext

CVE-2026-47392: PraisonAI - Remote Code Execution

  • Cve: CVE-2026-47392
  • Name: PraisonAI - Remote Code Execution
  • Description: PraisonAI is a multi-agent teams system. Prior to version 4.6.40 of PraisonAI, corresponding to version 1.6.40 of praisonaiagents, `execute_code()` in `praisonaiagents/tools/python_tools.py` (v1.6.37, subprocess sandbox mode) can be fully bypassed using `print.__self__` to retrieve the real Python `builtins` module, from which `__import__` can be extracted via `vars()` and runtime string construction. This achieves arbitrary OS command execution on the host, completely defeating the sandbox. This is a novel bypass that survives all patches for CVE-2026-39888 (frame traversal), CVE-2026-34938 (str subclass), and CVE-2026-40158 (`type.__getattribute__` trampoline). PraisonAI version 4.6.40 and praisonaiagents version 1.6.40 contain an updated fix.
  • Impact: Attackers can execute arbitrary OS commands on the host, leading to full system compromise.
  • Remediation: Update PraisonAI to version 4.6.40 and praisonaiagents to version 1.6.40 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00884
  • Epss percentile: 0.6013
  • Assignee: [email protected]
  • Published at: 2026-07-21T16:17:12Z
  • Age in days: 126
  • Modified at: 2026-07-21T18:59:43Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-47392
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-184Incomplete List of Disallowed Inputs

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6
https://github.com/MervinPraison/PraisonAI/pull/1684
https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4mr5-g6f9-cfrh

Products

ProductAffectedPlatform boundSourcesUrl
praison:praisonai< 4.6.40nocna_alias_text/v1/products/praison/praisonai

Projects

RepositoryLink kindsIndexedUrl
mervinpraison/praisonaicommit, package, pull, security_advisoryyes/v1/repositories/mervinpraison/praisonai

Index

  • Repositories: 1
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts