---
id: CVE-2026-56839
title: PraisonAI is a multi-agent teams system
summary: >-
  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 w…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-22
  - CWE-200
  - CWE-863
vendor: MervinPraison
product: PraisonAI
affected:
  - PraisonAI < 4.6.59
patched:
  - praisonai 4.6.59
published: '2026-09-14'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T13:42:48.020'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56839'
references:
  - url: >-
      https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59
    label: security-advisories@github.com
  - url: 'https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59'
    label: security-advisories@github.com
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gcq3-mfvh-3x25
    label: security-advisories@github.com
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gcq3-mfvh-3x25
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/MervinPraison/PraisonAI'
tags:
  - nvd
  - cve.org
  - exploit-available
  - osv
  - pip
epss: 0.00379
epssPercentile: 0.29205
aliases:
  - GHSA-gcq3-mfvh-3x25
ecosystem: pip
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-14T16:26:45.502398Z'
ingestedAt: '2026-07-21T19:04:57.159Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-56839)

Affected packages:

- `praisonai < 4.6.59`

Patched in:

- `praisonai 4.6.59`

Source: https://osv.dev/vulnerability/GHSA-gcq3-mfvh-3x25
