CVE-2026-55522
Beschrijving NL
PraisonAI is een multi-agent teamsysteem. In versies 3.9.26 t/m 4.6.57 van praiseonai en 0.12.12 t/m 1.6.57 van praiseonaiagents is de workflow "include" -functie kwetsbaar voor code-uitvoering. Workflow._execute_include() importeert en voert impliciet de tools.py van een inbegrepen recept uit via een ruwe importlib.util.spec_from_file_location () en spec.loader.exec_module () oproep, zonder de PRAISONAI_ALLOW_TEMPLATE_TOOLS/PRAISONAI_ALLOW_LOCAL_TOOLS autoload opt-in poorten of routering door de gecentraliseerde veilige lader die de andere tools.py autoload paden beschermt. Als gevolg hiervan voert een workflow met een door aanvallers gecontroleerde lokale receptmap willekeurige Python-code op moduleniveau uit tijdens de installatie van include, voordat een onderliggende workflow wordt geparseerd of een modeloproep wordt gedaan, en dezelfde sink is bereikbaar via de recept-API op hoger niveau praisonai.recipe.run (). Een aanvaller die ervoor kan zorgen dat een slachtofferproces een workflow of recept uitvoert dat een onbetrouwbaar lokaal recept bevat, bereikt willekeurige Python-code-uitvoering als de PraisonAI-procesgebruiker, een variant die de verharding omzeilt die is toegepast op de eerder bekendgemaakte automatische tools.py RCE-adviesfamilie. Dit probleem is opgelost in versie 4.6.58 van praisonai en 1.6.58 van praisonaiagents.
Origineel (Engels) tonen
PraisonAI is a multi-agent teams system. In versions 3.9.26 through 4.6.57 of praiseonai and 0.12.12 through 1.6.57 of praiseonaiagents, the workflow "include" feature is vulnerable to code execution. Workflow._execute_include() implicitly imports and runs an included recipe's tools.py via a raw importlib.util.spec_from_file_location() and spec.loader.exec_module() call, without honoring the PRAISONAI_ALLOW_TEMPLATE_TOOLS/PRAISONAI_ALLOW_LOCAL_TOOLS autoload opt-in gates or routing through the centralized safe loader that protects the other tools.py autoload paths. As a result, a workflow that includes an attacker-controlled local recipe directory executes arbitrary module-level Python code during include setup, before any child workflow parsing or model call, and the same sink is reachable through the higher-level praisonai.recipe.run() recipe API. An attacker who can cause a victim process to run a workflow or recipe that includes an untrusted local recipe achieves arbitrary Python code execution as the PraisonAI process user, a variant that bypasses the hardening applied to the previously disclosed automatic tools.py RCE advisory family. This issue has been fixed in version 4.6.58 of praisonai and 1.6.58 of praisonaiagents.