{"id":"CVE-2026-61437","published":"2026-07-10T13:58:06Z","modified":"2026-07-14T01:47:45Z","title":"PraisonAI before 1.6.78 Remote Code Execution via tools.py","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.09627,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4gfv-wg42-7jw5","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/praisonai-before-remote-code-execution-via-tools-py","tags":["third-party-advisory"]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":1.93},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 1.6.78"]}],"fixedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["1.6.78"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-14T01:47:25.539795Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonaiagents","vulnerableRanges":["<1.6.78"],"patched":["1.6.78"],"from":["GHSA-4gfv-wg42-7jw5","PYSEC-2026-4267"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-42900","exploited":false,"provenance":"source"}}