CVE-2026-55522
HIGH 7.8CVSS 3.1PraisonAI workflow include bypasses tools.py autoload opt-in and executes included recipe code
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.
- Published
- 5 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-426CWE-829CWE-94
- Also known as
- GHSA-hxmv-c4g6-5fqcPYSEC-2026-3891PYSEC-2026-3903
- Sources
- NVDJSONOSV GHSA-hxmv-c4g6-5fqcJSONOSV PYSEC-2026-3891JSONOSV PYSEC-2026-3903JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | praisonaiagents | >= 0.12.12, < 1.6.58 | 1.6.58 |
| OSV | PyPI | praisonai | >= 3.9.26, < 4.6.58 | 4.6.58 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hxmv-c4g6-5fqc · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-55522 · ADVISORY
- https://github.com/MervinPraison/PraisonAI/commit/2f9677abb2ea68eab864ee8b6a828fd0141612e1 · WEB
- https://github.com/MervinPraison/PraisonAI · PACKAGE
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.58 · WEB
- https://pypi.org/project/praisonai · PACKAGE
- https://github.com/advisories/GHSA-hxmv-c4g6-5fqc · ADVISORY
- https://pypi.org/project/praisonaiagents · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 5 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Aug 2026)