CVE-2026-34937: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in MervinPraison PraisonAI
PraisonAI is a multi-agent teams system. Prior to version 1.5.90, run_python() in praisonai constructs a shell command string by interpolating user-controlled code into python3 -c "<code>" and passing it to subprocess.run(..., shell=True). The escaping logic only handles \ and ", leaving $() and backtick substitutions unescaped, allowing arbitrary OS command execution before Python is invoked. This issue has been patched in version 1.5.90.
AI Analysis
Technical Summary
PraisonAI versions before 1.5.90 contain an OS command injection vulnerability (CWE-78) in the run_python() function. This function builds a shell command string by inserting user-controlled code into a python3 -c "<code>" command executed with subprocess.run(..., shell=True). The escaping mechanism only handles backslashes and double quotes, leaving shell command substitution constructs like $() and backticks unescaped. This allows an attacker with limited privileges to execute arbitrary OS commands on the host system before the Python interpreter is invoked. The vulnerability is patched in version 1.5.90.
Potential Impact
Successful exploitation allows an attacker with local privileges to execute arbitrary operating system commands with the privileges of the PraisonAI process. This can lead to full compromise of the affected system's confidentiality, integrity, and availability. The CVSS score of 7.8 reflects high impact on confidentiality, integrity, and availability. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Upgrade PraisonAI to version 1.5.90 or later, where this vulnerability has been patched. Since no official vendor advisory or patch link is provided, verify the version upgrade from the vendor's official sources. No additional mitigations are specified or required beyond applying the fixed version.
CVE-2026-34937: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in MervinPraison PraisonAI
Description
PraisonAI is a multi-agent teams system. Prior to version 1.5.90, run_python() in praisonai constructs a shell command string by interpolating user-controlled code into python3 -c "<code>" and passing it to subprocess.run(..., shell=True). The escaping logic only handles \ and ", leaving $() and backtick substitutions unescaped, allowing arbitrary OS command execution before Python is invoked. This issue has been patched in version 1.5.90.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI versions before 1.5.90 contain an OS command injection vulnerability (CWE-78) in the run_python() function. This function builds a shell command string by inserting user-controlled code into a python3 -c "<code>" command executed with subprocess.run(..., shell=True). The escaping mechanism only handles backslashes and double quotes, leaving shell command substitution constructs like $() and backticks unescaped. This allows an attacker with limited privileges to execute arbitrary OS commands on the host system before the Python interpreter is invoked. The vulnerability is patched in version 1.5.90.
Potential Impact
Successful exploitation allows an attacker with local privileges to execute arbitrary operating system commands with the privileges of the PraisonAI process. This can lead to full compromise of the affected system's confidentiality, integrity, and availability. The CVSS score of 7.8 reflects high impact on confidentiality, integrity, and availability. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Upgrade PraisonAI to version 1.5.90 or later, where this vulnerability has been patched. Since no official vendor advisory or patch link is provided, verify the version upgrade from the vendor's official sources. No additional mitigations are specified or required beyond applying the fixed version.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-31T17:27:08.660Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d04a110a160ebd9264ca63
Added to database: 4/3/2026, 11:15:29 PM
Last enriched: 4/3/2026, 11:30:47 PM
Last updated: 4/5/2026, 9:47:52 PM
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.