Vulnerability · Published Sep 14, 2026 · Assigned by GitHub_M

CVE-2026-56839PraisonAI Code agent tools fail open without a workspace boundary

High 7.3

In plain English

A high-severity path traversal in PraisonAI from MervinPraison. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.4%top 67.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpraisonai4.6.59GHSA-gcq3-mfvh-3x25
PyPIpraisonai4.6.59PYSEC-2026-3512

Affected products (as reported)

VendorProductVersions
MervinPraison PraisonAI < 4.6.59

Weakness: CWE-22, CWE-200, CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

References