CVE-2026-47397

Summary

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 Software

VendorProductVersion RangeStatus
MervinPraisonPraisonAI< 4.6.40affected

Weaknesses

  • CWE-22: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References