CVE-2026-60085: PraisonAI Subprocess Sandbox Lacks Command and Path Restrictions

praisonai Updated 09 Oct 2026

Summary

08/10/2026
Yes i
High
8.7

CVE-2026-60085: Summary SecurityPolicy in praisonaiagents/sandbox/config.py is a documented configuration data class with fields for allow_subprocess, allowed_paths, blocked_paths, allowed_commands, blocked_commands, allowed_imports, an... 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 framework designed for building AI applications. It provides a sandbox environment for executing untrusted code safely. The framework includes a SecurityPolicy configuration that aims to restrict subprocess execution, file access, and command execution to protect against malicious activities. However, a significant vulnerability exists in the default Subprocess Sandbox backend, which fails to enforce these restrictions.

Vulnerability Detail

The vulnerability arises from the Subprocess Sandbox implementation in PraisonAI, where the SecurityPolicy's restrictions on subprocess creation, file access, and command execution are not enforced. Despite the configuration allowing for strict security policies, the backend does not check against blocked commands, paths, or imports. This oversight can lead to unauthorized access to sensitive files, execution of destructive commands, and overall compromise of the system's security. The root cause is that only a subset of the SecurityPolicy fields is utilized, leaving critical security measures unenforced.

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, consider using the native backend (Landlock/Seatbelt) for untrusted code execution instead of the Subprocess Sandbox. This backend enforces the necessary security policies effectively.

Conclusion

The PraisonAI framework has a critical vulnerability in its Subprocess Sandbox that allows untrusted code to bypass security restrictions. It is essential to update to the patched version (4.6.78) to mitigate risks. Users should also consider alternative backends for enhanced security until they can upgrade.

See every vulnerability recorded for praisonai →

Share this vulnerability

FAQ

CVE-2026-60085 is a vulnerability in the PraisonAI framework that allows untrusted code to bypass security restrictions in the Subprocess Sandbox.

The risks include unauthorized access to sensitive files, execution of harmful commands, and potential system compromise.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, switch to the native backend (Landlock/Seatbelt) for executing untrusted code as a temporary measure.

The CVSS score of this vulnerability is 8.7, indicating a high severity level.

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