CVE Catalog

CVE-2026-56839

HighCVSS 7.3
Published: Updated: Translated: NVD NIST

Summary

In PraisonAI 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 exposing code_read_file, code_search_replace, or code_apply_diff before set_workspace can let prompt-influenced calls read and modify files outside the intended project directory.

Risk Assessment

An attacker can read and modify files outside the intended project directory, potentially leading to data leakage or unauthorized system changes.

Recommendation

Update PraisonAI to version 4.6.59 or later and ensure workspace is always set before exposing CODE_TOOLS.

Other vulnerabilities in PraisonAI

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS