CVE-2026-55527 praisonaiagents vulnerable to arbitrary file write via unsanitized `user_id` in `FileMemory.__init__()` — path traversal to any writable location

High 7.1 Published Updated

Attackers can write arbitrary files by exploiting unsanitized user IDs in PraisonAI's FileMemory, potentially compromising system integrity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-55527?

CVE-2026-55527 is a high-severity path traversal vulnerability in MervinPraison PraisonAI, published on 25 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-73, CWE-22

Which versions are affected by CVE-2026-55527?

3 open source packages ship an affected version, including praisonaiagents.

PackageAffectedFixed in
praisonaiagents PyPIAll versions1.6.58
praisonaiagents PyPIAll versions1.6.58
praisonaiagents PyPIAll versions1.6.58

How do I fix CVE-2026-55527?

Upgrade praisonaiagents to 1.6.58 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-55527 being exploited?

There is no known exploitation of CVE-2026-55527 in the wild and no public exploit code.

Sources

Also known as GHSA-gxmw-5f7x-6g22, PYSEC-2026-3902.

Is CVE-2026-55527 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free