{"cve":"CVE-2026-55522","nvd":{"published":"2026-08-05T20:17:10.453","modified":"2026-10-24T16:10:00.153","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-94","CWE-426","CWE-829"],"references":["https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hxmv-c4g6-5fqc","https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hxmv-c4g6-5fqc"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:34.184483516+00:00"},"epss":{"cve":"CVE-2026-55522","score":0.00224,"percentile":0.12895,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-hxmv-c4g6-5fqc","url":"https://osv.dev/vulnerability/GHSA-hxmv-c4g6-5fqc","summary":"PraisonAI workflow include bypasses tools.py autoload opt-in and executes included recipe code","modified":"2026-09-10T12:26:08.525935822Z","packages":[{"ecosystem":"PyPI","name":"praisonaiagents","purl":"pkg:pypi/praisonaiagents","ranges":[">=0.12.12 <1.6.58"],"fixed":["1.6.58"]},{"ecosystem":"PyPI","name":"praisonai","purl":"pkg:pypi/praisonai","ranges":[">=3.9.26 <4.6.58"],"fixed":["4.6.58"]}]},{"id":"PYSEC-2026-3891","url":"https://osv.dev/vulnerability/PYSEC-2026-3891","summary":"PraisonAI workflow include bypasses tools.py autoload opt-in and executes included recipe code","modified":"2026-09-10T12:26:08.525935822Z","packages":[{"ecosystem":"PyPI","name":"praisonai","purl":"pkg:pypi/praisonai","ranges":[">=3.9.26 <4.6.58"],"fixed":["4.6.58"]}]},{"id":"PYSEC-2026-3903","url":"https://osv.dev/vulnerability/PYSEC-2026-3903","summary":"PraisonAI workflow include bypasses tools.py autoload opt-in and executes included recipe code","modified":"2026-09-10T12:26:08.525935822Z","packages":[{"ecosystem":"PyPI","name":"praisonaiagents","purl":"pkg:pypi/praisonaiagents","ranges":[">=0.12.12 <1.6.58"],"fixed":["1.6.58"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}