CVE-2026-61445: PraisonAI AICoder Arbitrary File Write and Command Execution Vulnerability

praisonai Updated 09 Oct 2026

Summary

08/10/2026
Yes i
Critical
9.9

CVE-2026-61445: PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls. Affects praisonai versions < 4.6.78. Fixed in 4.6.78. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

PraisonAI is an open-source AI development platform that includes the AICoder UI component, designed to assist developers in generating code and executing commands through a chat interface. This platform leverages large language models (LLMs) to facilitate interactions. However, the AICoder component exposes critical functionalities, such as writing files and executing commands, without proper validation or sanitization, making it susceptible to severe security vulnerabilities.

Vulnerability Detail

The vulnerability arises from the AICoder UI component's lack of path validation in the 'write_to_file' function and absence of command sanitization in the 'execute_command' function. This allows an attacker to perform arbitrary file writes to sensitive locations on the filesystem, such as '/root/.ssh/authorized_keys' or '/etc/crontab', and execute arbitrary shell commands through crafted user inputs. The Docker containers running PraisonAI operate with root privileges, amplifying the potential impact of these vulnerabilities, which could lead to complete system compromise.

How To Fix

Latest published version: 4.7.16 as of 22 Oct 2026

pip install --upgrade "praisonai==4.7.16"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.6.78

This is the first release that contains the fix.

pip install --upgrade "praisonai==4.6.78"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict access to the AICoder UI component and avoid using the 'write_to_file' and 'execute_command' functionalities until the package is updated. Additionally, consider running the application in a non-root Docker container to mitigate the risk of arbitrary command execution.

Conclusion

The PraisonAI AICoder component is vulnerable to critical security issues due to inadequate path validation and command sanitization. Users are strongly advised to update to the latest version to protect against potential exploitation. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for praisonai →

Share this vulnerability

FAQ

CVE-2026-61445 is a critical vulnerability in the PraisonAI AICoder component that allows arbitrary file writes and command execution due to insufficient validation and sanitization.

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

The vulnerability can lead to unauthorized file modifications, execution of malicious commands, and potentially full system compromise, especially since the application runs as root in Docker.

Yes, a patch is available in version 4.6.78 of the PraisonAI package. Users should update to this version to mitigate the vulnerability.

If immediate updates are not possible, restrict access to the AICoder UI component and avoid using its file writing and command execution features until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for praisonai.

How To Fix

Latest published version: 4.7.16 as of 22 Oct 2026

pip install --upgrade "praisonai==4.7.16"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.6.78

This is the first release that contains the fix.

pip install --upgrade "praisonai==4.6.78"

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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