CVE-2026-57145 PraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validation
Attackers can read or overwrite arbitrary files via the multiedit tool due to missing path validation, exposing secrets and enabling tampering.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-57145?
CVE-2026-57145 is a critical path traversal vulnerability in MervinPraison PraisonAI, published on 14 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-57145?
3 open source packages ship an affected version, including praisonai.
| Package | Affected | Fixed in |
|---|---|---|
praisonai PyPI | All versions | 4.6.61 |
praisonai PyPI | All versions | 4.6.61 |
praisonai PyPI | All versions | 4.6.61 |
How do I fix CVE-2026-57145?
Upgrade praisonai to 4.6.61 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-57145 being exploited?
There is no known exploitation of CVE-2026-57145 in the wild and no public exploit code.
Sources
Also known as GHSA-29w3-p9w9-wc47, PYSEC-2026-3500.