Skip to content
OpenAdvisories
High · 7.1 CVE-2026-55527 EUVD-2026-65520GHSA-gxmw-5f7x-6g22PYSEC-2026-3902

PraisonAI: Arbitrary file write via unsanitized `user_id` in `FileMemory.__init__()` — path traversal to any writable location

Published Aug 25, 2026 · Updated Aug 25, 2026 · Assigned by GitHub_M

Description

PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.58, the FileMemory constructor joins unsanitized user_id into self.user_path. A caller supplying ../ or path separators can escape the memory directory and write JSON data to arbitrary process-writable locations. The fix sanitizes user_id before constructing self.user_path. This issue is fixed in version 1.6.58.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 1.6.58 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonaiagents < 1.6.58 1.6.58 GHSA-gxmw-5f7x-6g22

References