CVE-2026-39305
JSON

9.0critical

Arbitrary File Write / Path Traversal in Action Orchestrator

Severity
9.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.33% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jfxc-v5g9-38xrPYSEC-2026-475

Description

PraisonAI is a multi-agent teams system. Prior to 1.5.113, the Action Orchestrator feature contains a Path Traversal vulnerability that allows an attacker (or compromised agent) to write to arbitrary files outside of the configured workspace directory. By supplying relative path segments (../) in the target path, malicious actions can overwrite sensitive system files or drop executable payloads on the host. This vulnerability is fixed in 1.5.113.

Affected

Product or packageVersionsReported by
MervinPraison PraisonAI< 4.5.113CVE List
praisonai (PyPI)before 4.5.113GitHub Advisory Database, PyPA Advisory Database
praison praisonaiup to 4.5.112NVD

All scores

GitHub_M9.0critical CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
GitHub9.0critical CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
NVD10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
PyPA Advisory Database9.0critical CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

PraisonAI is a multi-agent teams system. Prior to 1.5.113, the Action Orchestrator feature contains a Path Traversal vulnerability that allows an attacker (or compromised agent) to write to arbitrary files outside of the configured workspace directory. By supplying relative path segments (../) in the target path, malicious actions can overwrite sensitive system files or drop executable payloads on the host. This vulnerability is fixed in 1.5.113.

GitHub Advisory Database

The Action Orchestrator feature contains a Path Traversal vulnerability that allows an attacker (or compromised agent) to write to arbitrary files outside of the configured workspace directory. By supplying relative path segments (../) in the target path, malicious actions can overwrite sensitive system files or drop executable payloads on the host.

Details

Location: src/praisonai/praisonai/cli/features/action_orchestrator.py (Lines 402, 409, 423)

Vulnerable Code snippet:

target = workspace / step.target

In the _apply_step method, paths are constructed by concatenating the workspace path with a user-supplied step.target string: target = workspace / step.target. The code fails to resolve and validate that the final absolute path remains within the bounds of the workspace directory. When processing FILE_CREATE or FILE_EDIT actions, this flaw permits arbitrary file modification.

PoC

Construct a malicious ActionStep payload with path traversal characters:

from praisonai.cli.features.action_orchestrator import ActionStep, ActionType, ActionStatus

# Payload targeting a file outside the workspace
step = ActionStep(
    id="test_traversal",
    action_type=ActionType.FILE_CREATE,
    description="Malicious file write",
    target="../../../../../../../tmp/orchestrator_pwned.txt",
    params={"content": "pwned"},
    status=ActionStatus.APPROVED
)

# When the orchestrator applies this step, it writes to the traversed path
# _apply_step(step)
Impact

This is an Arbitrary File Write vulnerability. Anyone running the Action Orchestrator to apply modifications is vulnerable. A malicious prompt could trick the agent into generating a plan that overwrites critical files (e.g., ~/.ssh/authorized_keys, .bashrc) leading to Remote Code Execution (RCE) or system corruption.

NVD (es)

PraisonAI es un sistema de equipos multiagente. Antes de la 1.5.113, la funcionalidad Action Orchestrator contiene una vulnerabilidad de salto de ruta que permite a un atacante (o agente comprometido) escribir en archivos arbitrarios fuera del directorio de espacio de trabajo configurado. Al proporcionar segmentos de ruta relativa (.. / ) en la ruta de destino, las acciones maliciosas pueden sobrescribir archivos de sistema sensibles o dejar cargas útiles ejecutables en el host. Esta vulnerabilidad se corrigió en la 1.5.113.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-39305 changed 2026-04-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-jfxc-v5g9-38xr changed 2026-11-16CC-BY-4.0
NVDCVE-2026-39305 changed 2026-10-26Public domain
PyPA Advisory DatabasePYSEC-2026-475 changed 2026-07-13CC-BY-4.0