CVE-2026-61433: PraisonAI API Deployment Code Injection Vulnerability

praisonai Updated 09 Oct 2026

Summary

08/10/2026
Yes i
High
7.8

CVE-2026-61433: PraisonAI: API deploy code generator embeds unescaped YAML fields into Python source. 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 Your last release was probably never penetration tested 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 and deploying AI models as APIs. It allows users to configure deployment settings through YAML files, enabling seamless integration of AI functionalities into applications. However, a critical vulnerability exists in its API deployment generator, which can lead to arbitrary code execution if exploited.

Vulnerability Detail

The vulnerability arises from the API deployment generator in PraisonAI, which directly embeds unescaped YAML fields into generated Python source code. Specifically, the deploy.api.host value from agents.yaml is inserted into the generated Python code without proper encoding. This allows a malicious actor to inject Python expressions that get executed when the API server starts. The vulnerability can lead to unauthorized access to the operator's environment and sensitive data, making it a significant security risk.

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, avoid using untrusted or user-controlled values in the deploy.api.host and agents_file fields in your YAML configuration. Ensure that these values are sanitized and do not contain any executable code.

Conclusion

CVE-2026-61433 is a serious vulnerability in the PraisonAI framework that can lead to arbitrary code execution through unsafe handling of YAML configuration values. It is crucial for users to update to the patched version 4.6.78 and to implement safe coding practices to prevent such vulnerabilities in the future.

See every vulnerability recorded for praisonai →

Share this vulnerability

FAQ

CVE-2026-61433 is a vulnerability in the PraisonAI framework that allows for code injection through improperly handled YAML configuration values.

If exploited, this vulnerability can lead to arbitrary code execution, allowing attackers to access sensitive information and potentially compromise your system.

All versions of PraisonAI up to and including 4.6.77 are affected by this vulnerability. The issue has been fixed in version 4.6.78.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If immediate updates are not possible, ensure that your YAML configuration does not contain untrusted values and consider implementing additional security measures to mitigate risks.

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