{
  "id": "CVE-2026-56839",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-56839",
  "published_at": "2026-09-14T15:00:45.357Z",
  "title": "PraisonAI Code agent tools fail open without a workspace boundary",
  "vendor": "MervinPraison",
  "product": "PraisonAI",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A: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 is a multi-agent teams system. Prior to 4.6.59, the CODE_TOOLS wrappers keep _workspace_root as None and pass workspace=None to read_file, search_replace, and apply_diff helpers that enforce path containment only for a truthy workspace. An application that exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace can therefore let prompt-influenced calls read and modify files outside the intended project directory, while explicitly configured workspaces remain effective. This vulnerability is fixed in 4.6.59.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MervinPraison",
        "product": "PraisonAI",
        "ranges": [
          "\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-gcq3-mfvh-3x25"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
