CVE-2026-61447 PraisonAI before 1.6.78 Remote Code Execution via CodeAgent

Critical 10.0 Published Updated

Attackers can execute arbitrary code and steal secrets by influencing LLM output in PraisonAI's CodeAgent due to missing sandboxing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-61447?

CVE-2026-61447 is a critical code injection vulnerability in MervinPraison PraisonAI, published on 11 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-94

Which versions are affected by CVE-2026-61447?

3 open source packages ship an affected version, including praisonaiagents.

PackageAffectedFixed in
praisonaiagents PyPIAll versions1.6.78
praisonaiagents PyPIAll versions1.6.78
praisonaiagents PyPIAll versions1.6.78

How do I fix CVE-2026-61447?

Upgrade praisonaiagents to 1.6.78 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-61447 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61447 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-2xv2-w8cq-5gxw, PYSEC-2026-4266.

Is CVE-2026-61447 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free