CVE-2026-60086: PraisonAI Vulnerability in Prompt-Injection Defense Mechanism

praisonai Updated 09 Oct 2026

Summary

08/10/2026
Yes i
Moderate
5.3

CVE-2026-60086: PraisonAI's opt-in prompt-injection defense (enable_injection_defense()) only blocks at ThreatLevel.CRITICAL, which requires three or more distinct detector families to match simultaneously. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PraisonAI is an open-source AI tool designed for natural language processing tasks, including text generation and conversation simulation. It incorporates a prompt-injection defense mechanism to protect against malicious input. However, this defense is flawed, as it only activates under specific conditions, leaving the system vulnerable to certain types of prompt injections.

Vulnerability Detail

The vulnerability in PraisonAI arises from its prompt-injection defense function, which only blocks potentially harmful inputs when three or more distinct detector families trigger simultaneously. This means that single or double-vector prompt injections can bypass the defense entirely, allowing attackers to manipulate the AI's behavior without detection. The root cause lies in the implementation of the scan_text function, which only sets the blocked status to true at a ThreatLevel.CRITICAL. As a result, realistic prompt injections classified as HIGH are not sanitized or blocked, posing a significant risk to the integrity of the AI's responses.

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

Currently, there are no effective workarounds to mitigate this vulnerability without updating to the patched version. It is recommended to avoid using the vulnerable version of PraisonAI until the update is applied.

Conclusion

The PraisonAI vulnerability (CVE-2026-60086) highlights significant flaws in its prompt-injection defense mechanism, allowing malicious inputs to bypass security measures. Users are strongly encouraged to update to the latest version to mitigate risks associated with this vulnerability.

See every vulnerability recorded for praisonai →

Share this vulnerability

FAQ

The vulnerability allows certain prompt injections to bypass the defense mechanism, which only activates under specific conditions, leaving the system exposed.

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

The CVSS score of this vulnerability is 5.3, indicating a moderate level of risk.

If you cannot update immediately, it is advisable to limit the use of PraisonAI in sensitive applications until the vulnerability is patched.

The 'sanitize' behavior is supposed to modify the input text to prevent harmful instructions from being executed, but it is not currently implemented for HIGH threat levels.

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