CVE-2026-57145 PUBLISHED

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

Assigner: GitHub_M
Reserved: 24.06.2026 Published: 14.09.2026 Updated: 14.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS Score: 9.1

Product Status

Vendor MervinPraison
Product PraisonAI
Versions
  • Version < 4.6.62 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE