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.

Severity (CVSS)

Base score10
SeverityCritical
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Provided byCNA

Weaknesses

  • CWE-94 — Improper Control of Generation of Code ('Code Injection')

Affected products

VendorProductVersions
MervinPraisonPraisonAI0 to <1.6.78; 1.6.78

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 12 Jul 2026 07:01 UTC.