# CVE-2026-61437: PraisonAI before 1.6.78 Remote Code Execution via tools.py

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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.20%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-10T13:58:06.305Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-4gfv-wg42-7jw5, PYSEC-2026-4267
- Weaknesses: CWE-693, CWE-829
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

PraisonAI (pip package praisonaiagents) before 1.6.78 contains an unsafe dynamic module loading vulnerability in AgentFlow._resolve_pydantic_class (src/praisonai-agents/praisonaiagents/workflows/workflows.py). When a workflow step uses a string output_pydantic reference, the framework locates and imports a sibling tools.py from the workflow file's directory via importlib exec_module without sandboxing, ignoring the PRAISONAI_ALLOW_*_TOOLS environment variables. An attacker who controls a workflow file and its sibling tools.py can execute arbitrary Python code with the workflow runner's privileges when the workflow is executed via WorkflowManager or after load_yaml.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: before 1.6.78 (not affected: 1.6.78)
- praisonaiagents (PyPI): before 1.6.78

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: 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-4gfv-wg42-7jw5> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/praisonai-before-remote-code-execution-via-tools-py> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61437> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonaiagents> (package)
- <https://github.com/advisories/GHSA-4gfv-wg42-7jw5> (advisory)

## Sources

- CVE List: [CVE-2026-61437](https://www.cve.org/CVERecord?id=CVE-2026-61437), CVE Terms of Use, modified 2026-07-14
- GitHub Advisory Database: [GHSA-4gfv-wg42-7jw5](https://github.com/advisories/GHSA-4gfv-wg42-7jw5), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-61437](https://nvd.nist.gov/vuln/detail/CVE-2026-61437), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-4267](https://osv.dev/vulnerability/PYSEC-2026-4267), CC-BY-4.0, modified 2026-10-15

---

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