CVE-2026-61433: Improper Control of Generation of Code ('Code Injection') in MervinPraison PraisonAI
PraisonAI before 4.6.78 fails to safely encode deployment configuration values when generating Python source code for API servers. Attackers can inject arbitrary Python expressions through the deploy.api.host and agents_file configuration parameters that execute when the generated server starts or handles requests.
AI Analysis
Technical Summary
CVE-2026-61433 is a code injection vulnerability in MervinPraison's PraisonAI product affecting versions before 4.6.78. The issue arises because deployment configuration values are not safely encoded when generating Python source code for API servers. Attackers can exploit this by injecting malicious Python expressions through the deploy.api.host and agents_file configuration parameters, leading to arbitrary code execution during server startup or request handling. The vulnerability has a CVSS 4.0 score of 8.5, indicating high impact and exploitability under local attack vector with low complexity and no privileges required but user interaction needed.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary Python code on the server running the PraisonAI API, potentially leading to full compromise of the affected system. This can impact confidentiality, integrity, and availability of the server and its data. The vulnerability requires local access and user interaction but no privileges, making it a significant risk in environments where configuration values can be influenced by untrusted users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted input in deployment configuration parameters, specifically deploy.api.host and agents_file. Restrict access to configuration files and deployment processes to trusted administrators only. Monitor vendor channels for updates regarding an official patch or workaround.
CVE-2026-61433: Improper Control of Generation of Code ('Code Injection') in MervinPraison PraisonAI
Description
PraisonAI before 4.6.78 fails to safely encode deployment configuration values when generating Python source code for API servers. Attackers can inject arbitrary Python expressions through the deploy.api.host and agents_file configuration parameters that execute when the generated server starts or handles requests.
CVSS v4.0
Score 8.5high
Affected software
pkg:github/mervinpraison/PraisonAIRun 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
Technical Analysis
CVE-2026-61433 is a code injection vulnerability in MervinPraison's PraisonAI product affecting versions before 4.6.78. The issue arises because deployment configuration values are not safely encoded when generating Python source code for API servers. Attackers can exploit this by injecting malicious Python expressions through the deploy.api.host and agents_file configuration parameters, leading to arbitrary code execution during server startup or request handling. The vulnerability has a CVSS 4.0 score of 8.5, indicating high impact and exploitability under local attack vector with low complexity and no privileges required but user interaction needed.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary Python code on the server running the PraisonAI API, potentially leading to full compromise of the affected system. This can impact confidentiality, integrity, and availability of the server and its data. The vulnerability requires local access and user interaction but no privileges, making it a significant risk in environments where configuration values can be influenced by untrusted users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted input in deployment configuration parameters, specifically deploy.api.host and agents_file. Restrict access to configuration files and deployment processes to trusted administrators only. Monitor vendor channels for updates regarding an official patch or workaround.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-09T14:05:21.471Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a57771e68715ace43a93b89
Added to database: 07/15/2026, 12:03:42 UTC
Last enriched: 07/15/2026, 12:19:01 UTC
Last updated: 07/16/2026, 03:34:29 UTC
Views: 5
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.
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.