CVE-2026-56839
PraisonAI is a multi-agent teams system. Prior to 4.6.59, the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gcq3-mfvh-3x25
- github.com/advisories/GHSA-gcq3-mfvh-3x25
- github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59
- github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59
- nvd.nist.gov/vuln/detail/CVE-2026-56839
- cve.org/CVERecord?id=CVE-2026-56839
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.