high7.1
CVE-2026-47397
PraisonAI has an Arbitrary File Write in Python API
Impact
PraisonAI is a multi-agent teams system. Prior to version 4.6.40, hidden metadata in a webpage causes PraisonAI agents to write attacker-controlled content to arbitrary paths. `write_file` skips path validation when `workspace=None` (always `None` in production). Version 4.6.40 fixes the issue.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | PraisonAI | <= 4.6.39 | 4.6.40 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-hvhp-v2gc-268q
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hvhp-v2gc-268q
- https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6
- https://github.com/MervinPraison/PraisonAI/pull/1684