CVE-2026-39305: Arbitrary File Write / Path Traversal in Action Orchestrator

Published Apr 6, 2026
·
Updated

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.

Other sources

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/actionorchestrator.py (Lines 402, 409, 423)

Vulnerable Code snippet: python target = workspace / step.target

In the applystep 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 FILECREATE or FILEEDIT actions, this flaw permits arbitrary file modification.

PoC Construct a malicious ActionStep payload with path traversal characters:

python from praisonai.cli.features.actionorchestrator import ActionStep, ActionType, ActionStatus

Payload targeting a file outside the workspace step = ActionStep( id="testtraversal", actiontype=ActionType.FILECREATE, description="Malicious file write", target="../../../../../../../tmp/orchestratorpwned.txt", params={"content": "pwned"}, status=ActionStatus.APPROVED )

When the orchestrator applies this step, it writes to the traversed path applystep(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/authorizedkeys, .bashrc) leading to Remote Code Execution (RCE) or system corruption.

GitHub

Affected Software

2 affected componentsFixes available
pip/PraisonAI<=4.5.112
4.5.113
Praison PraisonAI<=4.5.112

Event History

Apr 6, 2026
Advisory Published
via GitHub·11:09 PM
Data Sourced
via GitHub·11:09 PM
DescriptionSeverityWeaknessAffected Software
Apr 7, 2026
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
Affected Software
Nov 4, 58258
Event
via NVD·05:44 PM

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203