Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-57145 EUVD-2026-77595GHSA-29w3-p9w9-wc47PYSEC-2026-3500

PraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validation

Published Sep 14, 2026 · Updated Sep 14, 2026 · Assigned by GitHub_M

Description

PraisonAI is a multi-agent teams system. Prior to 4.6.62, src/praisonai/praisonai/tools/multiedit.py passes the LLM-controlled filepath parameter directly to open for reading and writing without traversal rejection, symlink resolution, a workspace boundary, or protected-path checks. Prompt-influenced agents can read files through edit and diff behavior or overwrite files accessible to the process, exposing secrets and enabling persistence or application tampering. This issue is fixed in 4.6.62.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.6.62 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.6.61 4.6.61 GHSA-29w3-p9w9-wc47

References