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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-200",
"CWE-22",
"CWE-863"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56839.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.6.59"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "b4270173d4123fb1ee8910588f0896668ee21b59"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.6.59",
"range": [
{
"fixed": "f834d4244823481244f97ebc44b06ab59cc0079a"
}
],
"source": "REFERENCES_TAG"
}
]
}