CVE-2026-47398
HIGHPraisonAI < 4.6.40 agents_generator.py - Arbitrary Code Execution
Title source: manualDescription
PraisonAI is a multi-agent teams system. The v4.6.32 chokepoint refactor (which patched CVE-2026-44334 / GHSA-xcmw-grxf-wjhj) added the PRAISONAI_ALLOW_LOCAL_TOOLS env-var gate to the tool_override.py sinks. However, two additional spec.loader.exec_module call sites in praisonai/agents_generator.py were missed and remain completely unguarded in versions prior to 4.6.40. Both functions accept a module_path parameter sourced from YAML configuration and execute it without validation, signature checking, or the env-var gate. Version 4.6.40 fixes the issue.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-78r8-wwqv-r299
X_Refsource_Misc x_refsource_misc
https://github.com/MervinPraison/PraisonAI/pull/1685
X_Refsource_Misc x_refsource_misc
https://github.com/MervinPraison/PraisonAI/commit/ef79b7a0561796ad9807f0f09538c25cc78d3619
Scores
CVSS v3
8.1
EPSS
0.0033
EPSS Percentile
25.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-829
CWE-94
Status
published
Products (1)
MervinPraison/PraisonAI
< 4.6.40
Published
Jul 21, 2026
Tracked Since
Jul 21, 2026