{
  "id": "CVE-2026-61437",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-61437",
  "published_at": "2026-07-10T13:58:06.305Z",
  "title": "PraisonAI before 1.6.78 Remote Code Execution via tools.py",
  "vendor": "MervinPraison",
  "product": "PraisonAI",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-693",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MervinPraison",
        "product": "PraisonAI",
        "ranges": [
          "\u003c 1.6.78"
        ],
        "fixed_in": [
          "1.6.78"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PraisonAI to 1.6.78 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4gfv-wg42-7jw5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
