CVE-2026-56839 PUBLISHED

PraisonAI Code agent tools fail open without a workspace boundary

Assigner: GitHub_M
Reserved: 23.06.2026 Published: 14.09.2026 Updated: 14.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CVSS Score: 7.3

Product Status

Vendor MervinPraison
Product PraisonAI
Versions
  • Version < 4.6.59 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor CWE
  • CWE-863: Incorrect Authorization CWE