Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. praisonai
  4. ›
  5. GHSA-g985-wjh9-qxxc

GHSA-g985-wjh9-qxxc: PraisonAI Vulnerable to RCE via Automatic tools.py Import

April 10, 2026

PraisonAI automatically imports ./tools.py from the current working directory when launching certain components. This includes call.py, tool_resolver.py, and CLI tool-loading paths.

A malicious tools.py placed in the process working directory is executed immediately, allowing arbitrary Python code execution in the host environment.

References

  • github.com/MervinPraison/PraisonAI
  • github.com/MervinPraison/PraisonAI/releases/tag/v4.5.139
  • github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g985-wjh9-qxxc
  • github.com/advisories/GHSA-g985-wjh9-qxxc

Code Behaviors & Features

Detect and mitigate GHSA-g985-wjh9-qxxc with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.5.139

Fixed versions

  • 4.5.139

Solution

Upgrade to version 4.5.139 or above.

Impact 8.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-426: Untrusted Search Path
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/praisonai/GHSA-g985-wjh9-qxxc.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:57 +0000.