---
title: "CVE-2026-61447: PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets"
url: https://erroneo.us/security/cve/CVE-2026-61447/
description: "CVE-2026-61447 (praisonaiagents (PyPI)): PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent.executepython() that executes…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-07-11
date_modified: 2026-10-08
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-61447"
kev: false
cvss: 10
epss: 0.0249
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-61447: PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 2.5% , percentile 84: FIRST’s model estimates a 2.5% chance of exploitation activity in the next 30 days, higher than 84% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes praisonaiagents (PyPI) <= 1.6.77, fixed in 1.6.78 . Check your lockfile, including transitive dependencies.

## What it is

PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent.executepython() 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.

## Affected packages

- PyPI `praisonaiagents` <= 1.6.77 → fixed: 1.6.78

## Affected products (CVE record)

- MervinPraison PraisonAI: < 1.6.78

## Severity

- VulnCheck CVSS 4.0: 10 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- VulnCheck CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 2.49% probability of exploitation activity in the next 30 days; percentile 84.

## Sources

- [GitHub Security Advisory (GHSA-2xv2-w8cq-5gxw)](https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2xv2-w8cq-5gxw)
- [GitHub Advisory GHSA-2xv2-w8cq-5gxw](https://github.com/advisories/GHSA-2xv2-w8cq-5gxw)
- [CVE.org record CVE-2026-61447](https://www.cve.org/CVERecord?id=CVE-2026-61447)
- [NVD entry CVE-2026-61447](https://nvd.nist.gov/vuln/detail/CVE-2026-61447)
- [VulnCheck Advisory: PraisonAI before 1.6.78 Remote Code Execution via CodeAgent](https://www.vulncheck.com/advisories/praisonai-before-remote-code-execution-via-codeagent)

---
Source page: https://erroneo.us/security/cve/CVE-2026-61447/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
