Advisory record · GHSA-2xv2-w8cq-5gxw

PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets

CVSS 10.0 CriticalCriticalEPSS 0.15 · 96th percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.
  • CVSS score 10.0 (7.0 or more) and EPSS 0.15 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

Published by the GitHub Advisory Database at 8 Oct 2026, 16:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
praisonaiagentsPyPI<1.6.781.6.78
Identifiers
GHSA-2xv2-w8cq-5gxw · CVE-2026-61447 · PYSEC-2026-4266
Weakness (CWE)
CWE-94 · CWE-200
Published
8 Oct 2026
Updated
15 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

PraisonAI (praisonaiagents on PyPI) versions before 1.6.78 are affected. The CodeAgent executes LLM-generated Python in a subprocess that inherits the full parent environment, with no AST validation, import restrictions, or working sandbox even when sandbox=True is set. An attacker who can influence the LLM's output, such as through prompt injection in agent input or tool results, can read environment secrets like API keys and database credentials and run arbitrary code on the host. Upgrade to praisonaiagents 1.6.78 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.15, the 96th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.