# CVE-2026-55522: PraisonAI workflow include bypasses tools.py autoload opt-in and executes included recipe code

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-05T19:01:43.051Z
- Modified: 2026-10-24T16:10:00.153Z
- Also known as: GHSA-hxmv-c4g6-5fqc, PYSEC-2026-3891, PYSEC-2026-3903
- Weaknesses: CWE-94, CWE-426, CWE-829
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: >= 3.9.26, < 4.6.58
- MervinPraison praisonaiagents: >= 0.12.12, < 1.6.58
- praisonaiagents (PyPI): from 0.12.12 before 1.6.58
- praisonai (PyPI): from 3.9.26 before 4.6.58

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hxmv-c4g6-5fqc> (exploit, 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)

## Sources

- CVE List: [CVE-2026-55522](https://www.cve.org/CVERecord?id=CVE-2026-55522), CVE Terms of Use, modified 2026-08-06
- GitHub Advisory Database: [GHSA-hxmv-c4g6-5fqc](https://github.com/advisories/GHSA-hxmv-c4g6-5fqc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55522](https://nvd.nist.gov/vuln/detail/CVE-2026-55522), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3891](https://osv.dev/vulnerability/PYSEC-2026-3891), CC-BY-4.0, modified 2026-09-10
- PyPA Advisory Database: [PYSEC-2026-3903](https://osv.dev/vulnerability/PYSEC-2026-3903), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-55522 · Whole record: https://cve.day/CVE-2026-55522.json · Rebuilt by cve.day 2026-11-25T22:59:31.178Z
