Advisory record · GHSA-4gfv-wg42-7jw5

PraisonAI: Unsafe Dynamic Module Loading Leads to Arbitrary Code Execution via tools.py in AgentFlow

CVSS 8.5 HighEPSS 0.0020 · 9th percentile

Published by the GitHub Advisory Database at 8 Oct 2026, 16:48 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-4gfv-wg42-7jw5 · CVE-2026-61437 · PYSEC-2026-4267
Weakness (CWE)
CWE-693 · CWE-829
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.

The praisonaiagents package before 1.6.78 is vulnerable to arbitrary Python code execution. When a workflow step uses a string output_pydantic reference, the framework automatically imports and runs a tools.py file located next to the workflow file, without the environment-variable protections used elsewhere. An attacker who can place a workflow file and a matching tools.py in a location the application loads from could run code with the privileges of the workflow process. 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
8.5 High 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0020, the 9th percentile, on 5 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.