CVE
CVE-2026-57145
PraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validation
Severity
Critical
Base CVSS
9.1
Fixed in
2a855c470077c7d2e2479a575f7ef7f548d51c33
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.
Severity scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.1
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV
0
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Endor Labs
Required action
Known ransomware campaign use
References
https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.62, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57145.json, https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-29w3-p9w9-wc47, https://nvd.nist.gov/vuln/detail/CVE-2026-57145, https://github.com/MervinPraison/PraisonAI/commit/2a855c470077c7d2e2479a575f7ef7f548d51c33
Basic information
Base CVSS
9.1
EPSS probability
0.0
EPSS percentile
0.31876
Introduced version
0
Fix available
2a855c470077c7d2e2479a575f7ef7f548d51c33
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.