{"id":"CVE-2026-61447","published":"2026-07-11T13:01:05Z","modified":"2026-07-13T15:21:34Z","title":"PraisonAI before 1.6.78 Remote Code Execution via CodeAgent","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent._execute_python() that executes LLM-generated Python code without AST validation, import restrictions, or sandbox enforcement. Attackers can influence LLM output through prompt injection to exfiltrate all environment secrets and execute arbitrary code on the host system.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.1524,"percentile":0.96824,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2xv2-w8cq-5gxw","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/praisonai-before-remote-code-execution-via-codeagent","tags":["third-party-advisory"]}],"priority":{"score":31.4,"factors":[{"name":"EPSS percentile","points":19.36},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-08-11"},"first":{"date":"2026-08-11","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52639"},"provenance":"source"},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 1.6.78"]}],"fixedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["1.6.78"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-13T15:21:25.938765Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonaiagents","vulnerableRanges":["<1.6.78"],"patched":["1.6.78"],"from":["GHSA-2xv2-w8cq-5gxw","PYSEC-2026-4266"],"provenance":"source"}],"summary":{"text":"PraisonAI before 1.6.78 has a flaw in the CodeAgent._execute_python() component, which runs LLM-generated Python code without AST validation, import restrictions, or sandbox enforcement. An attacker who can influence the model's output, for example through prompt injection, can exfiltrate environment secrets and execute arbitrary code on the host system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:17:34Z"},"euvd":{"id":"EUVD-2026-43182","exploited":false,"provenance":"source"},"exploits":[{"id":52639,"url":"https://www.exploit-db.com/exploits/52639","title":"MervinPraison PraisonAI praisonaiagents 1.6.77 - 'CodeAgent._execute_python()' Remote Code Execution (RCE)","date":"2026-08-11","verified":false,"provenance":"source"}]}