{"id":"CVE-2026-56839","published":"2026-09-14T15:00:45Z","modified":"2026-09-14T16:27:09Z","title":"PraisonAI Code agent tools fail open without a workspace boundary","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00379,"percentile":0.32784,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gcq3-mfvh-3x25","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59","tags":["x_refsource_MISC"]},{"url":"https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.56},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.6.59"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-14T16:26:45.502398Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonai","vulnerableRanges":["<4.6.59"],"patched":["4.6.59"],"from":["GHSA-gcq3-mfvh-3x25","PYSEC-2026-3512"],"provenance":"source"}],"summary":{"text":"The flaw is in PraisonAI's CODE_TOOLS wrappers, which leave the workspace root unset so that the read_file, search_replace, and apply_diff helpers skip their path-containment checks. An attacker who can influence the prompts sent to an application that exposes the code_read_file, code_search_replace, or code_apply_diff tools before a workspace has been set can read and modify files outside the intended project directory, which requires low-privilege authenticated access and user interaction, while explicitly configured workspaces are unaffected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:39Z"},"euvd":{"id":"EUVD-2026-77614","exploited":false,"provenance":"source"}}