Skip to main content

CVE-2026-56838: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in MervinPraison PraisonAI

0
High
VulnerabilityCVE-2026-56838cvecve-2026-56838cwe-78cwe-693cwe-863
Published: 10/23/2026 (10/23/2026, 11:58:01 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAI

Description

CVE-2026-56838 is an OS command injection vulnerability in MervinPraison's PraisonAI affecting versions from 4.5.87 up to but not including 4.6.59. The issue arises because the streaming execution path recipe.run_stream() bypasses the dangerous tool policy check that is enforced in the normal recipe.run() path. This allows execution of commands that should be denied unless explicitly allowed, potentially leading to high impact on confidentiality, integrity, and availability. The vulnerability has been patched in version 4.6.59.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

MervinPraison

PraisonAI

Affected versions
>=4.5.87 <4.6.59
GitHub Actionsmore threats →ai
mervinpraison/PraisonAI
pkg:github/mervinpraison/PraisonAI
Affected versions
>=4.5.87 <4.6.59

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 12:30:22 UTC

Technical Analysis

PraisonAI is a multi-agent teams system where recipe execution blocks dangerous tools by default unless explicitly allowed. Between versions 4.5.87 and before 4.6.59, the streaming execution method recipe.run_stream() bypasses the dangerous tool policy check (_check_tool_policy()), allowing execution of commands that should be denied. This discrepancy enables OS command injection via recipes that declare execute_command in TEMPLATE.yaml requires.tools, which are blocked in the normal execution path but allowed in the streaming path without the allow_dangerous_tools flag. The issue is fixed in version 4.6.59.

Potential Impact

An attacker can exploit this vulnerability to execute arbitrary OS commands through the streaming execution path, potentially leading to full compromise of confidentiality, integrity, and availability of the affected system. The CVSS score of 7.8 reflects a high severity with local attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade PraisonAI to version 4.6.59 or later, where the dangerous tool policy check is enforced consistently across all execution paths, including recipe.run_stream(). No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-23T14:55:09.117Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6adb50114d27ba8daa216e8f

Added to database: 10/23/2026, 12:16:17 UTC

Last enriched: 10/23/2026, 12:30:22 UTC

Last updated: 10/23/2026, 12:35:29 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses