Skip to content
OpenAdvisories
High · 7.5 CVE-2026-56833 EUVD-2026-108874GHSA-22cj-m4wf-fv2cPYSEC-2026-3499

PraisonAI Dynamic Context history and terminal tools read files outside configured storage via path traversal

Published Oct 23, 2026 · Updated Oct 23, 2026 · Assigned by GitHub_M

Description

PraisonAI is a multi-agent teams system. From version 3.8.1 to before version 4.6.59, PraisonAI's Dynamic Context module provides filesystem-backed history and terminal-log storage. The module also exports agent-callable tool factories. Those tools accept run_id and agent_id arguments from the tool caller. The underlying stores join those values into filesystem paths without rejecting absolute paths or .. traversal. Because run_id can be an absolute path and agent_id can contain traversal, a lower-trust prompt/user that can call these tools can read .jsonl and .log files outside the configured Dynamic Context base directory. This issue has been patched in version 4.6.59.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI >= 3.8.1, < 4.6.59 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai >= 3.8.1, < 4.6.59 4.6.59 GHSA-22cj-m4wf-fv2c

References