Critical Arbitrary File Write and Command Execution Vulnerability in PraisonAI Package

praisonai Updated 09 Oct 2026

Summary

11/07/2026
CRITICAL
No i
Critical
9.9

GHSA-wj29-gm8v-33x8: Duplicate Advisory: PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls. Affects praisonai versions < 4.6.77. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

PraisonAI is an advanced AI coding assistant that leverages large language models (LLMs) to assist developers in generating code and automating tasks. The package is widely used in various applications due to its powerful capabilities in natural language processing and code generation. However, prior to version 4.6.78, it was found to have serious security vulnerabilities that could be exploited by attackers.

Vulnerability Detail

The vulnerability in PraisonAI arises from inadequate path validation and command sanitization in its AICoder component, specifically during LLM tool calls. This allows attackers to inject malicious prompts through the chat interface, leading to arbitrary file writes to any location in the filesystem and the execution of arbitrary shell commands with root privileges. The ramifications of this vulnerability are severe, as it could allow unauthorized access to sensitive data and system control, potentially compromising the entire system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users should avoid using the AICoder component until they can update to the patched version. Additionally, implement strict input validation and sanitization on any user inputs to minimize the risk of exploitation.

Conclusion

The PraisonAI package has a critical vulnerability that allows arbitrary file writes and command execution due to insufficient validation and sanitization. Users are strongly advised to update to the latest version to mitigate risks. Monitoring tools like Vulert can assist in keeping track of vulnerabilities in open-source software.

See every vulnerability recorded for praisonai →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.9, indicating a critical level of severity.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The potential impacts include unauthorized file access, data breaches, and complete system compromise due to arbitrary command execution.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just the Pipfile.lock of your project.

If immediate updates are not possible, consider implementing strict input validation and avoiding the use of the vulnerable component until a patch is applied.

Related vulnerabilities

Recent vulnerabilities recorded for praisonai.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback