{
  "id": "CVE-2026-56838",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-56838",
  "published_at": "2026-10-23T11:58:01.475Z",
  "title": "PraisonAI recipe.run_stream skips dangerous-tool policy enforcement",
  "vendor": "MervinPraison",
  "product": "PraisonAI",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "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 is a multi-agent teams system. From version 4.5.87 to before version 4.6.59, PraisonAI recipe execution blocks default-denied dangerous tools unless the caller explicitly passes allow_dangerous_tools=True. The normal recipe.run() path enforces this with _check_tool_policy(). The streaming path, recipe.run_stream(), loads the same recipe, checks dependencies, and then calls _execute_recipe() without running the dangerous-tool policy check. As a result, a recipe that honestly declares execute_command in TEMPLATE.yaml requires.tools is denied by recipe.run(), but reaches the execution engine through recipe.run_stream() with allow_dangerous_tools=False. This issue has been patched in version 4.6.59.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MervinPraison",
        "product": "PraisonAI",
        "ranges": [
          "\u003e= 4.5.87, \u003c 4.6.59"
        ],
        "fixed_in": [
          "4.6.59"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PraisonAI to 4.6.59 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v847-hxxw-3pxg"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
