PT-2026-45056 · Praisonai · Praisonai

CVE-2026-47397

·

Published

2026-05-29

·

Updated

2026-07-21

CVSS v4.0

7.1

High

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions PraisonAI versions 4.6.37 and earlier
Description Hidden metadata within a webpage can trick PraisonAI agents into writing attacker-controlled content to arbitrary file paths. This occurs because the write file() function skips path validation when the workspace variable is set to None, which is the default state in production environments. An attacker can host a page with specific metadata that, when crawled and analyzed by an agent, triggers the autonomous call of write file() to save malicious content to a specified path on the victim's system.
Recommendations Update PraisonAI to a version later than 4.6.37. As a temporary mitigation, restrict the use of the write file() function or limit the agent's ability to crawl untrusted external webpages.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-47397
GHSA-HVHP-V2GC-268Q
PYSEC-2026-2916

Affected Products

Praisonai