Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. praisonai
  4. ›
  5. CVE-2026-47397

CVE-2026-47397: PraisonAI has an Arbitrary File Write in Python API

May 29, 2026

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).

References

  • github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hvhp-v2gc-268q
  • github.com/advisories/GHSA-hvhp-v2gc-268q
  • nvd.nist.gov/vuln/detail/CVE-2026-47397

Code Behaviors & Features

Detect and mitigate CVE-2026-47397 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.6.40

Fixed versions

  • 4.6.40

Solution

Upgrade to version 4.6.40 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

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

Source file

pypi/praisonai/CVE-2026-47397.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 13 Jun 2026 12:17:58 +0000.