Skip to content
OpenAdvisories
High · 7.1 CVE-2026-47397 EUVD-2026-46305GHSA-hvhp-v2gc-268qPYSEC-2026-2916

PraisonAI has an Arbitrary File Write in Python API

Published Jul 21, 2026 · Updated Jul 23, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.6.40 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.6.40 4.6.40 GHSA-hvhp-v2gc-268q

References