CVE-2026-57145 json
PraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validation
published 2026-06-18 4 mo ago modified 2026-09-15 54 d ago also GHSA-29w3-p9w9-wc47 , PYSEC-2026-3500 , EUVD-2026-77595
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi praisonai 4.6.61
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 55 d ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | praisonai | <4.6.61 |
4.6.61 |
Affected products
- MervinPraison PraisonAI
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- github.com /MervinPraison/PraisonAI/commit/2a855c470077c7d2e2479a575f7ef7f548d51c33
-
github.com
/MervinPraison/PraisonAI/security/advisories/GHSA-29w3-p9w9-wc47
web
- github.com /MervinPraison/PraisonAI/releases/tag/v4.6.62
-
github.com
/MervinPraison/PraisonAI
package
-
pypi.org
/project/praisonai
package
-
github.com
/advisories/GHSA-29w3-p9w9-wc47
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-57145
advisory
Sources
- CVE List CVE-2026-57145
- GitHub Advisory GHSA-29w3-p9w9-wc47
- NVD CVE-2026-57145
- OSV PYSEC-2026-3500
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.